[英]Does anybody know where to get a smtp connection Daemon?
Here's the thing. 就是这个 I need a daemon running on the server which basically will open an smtp connection, then it will expect calls to the process to send e-mails through the opened connection. 我需要一个在服务器上运行的守护程序,该守护程序基本上将打开一个smtp连接,然后它将期望对该进程的调用通过打开的连接发送电子邮件。
This is to avoid connecting to the smtp every time, instead I can receive multiple calls to the process but connection only one time. 这是为了避免每次都连接到smtp,相反,我可以收到对该进程的多次调用,但只能连接一次。
By the way, the SMTP always authenticates with the same user and password, no need of a different authentication by each user. 顺便说一句,SMTP始终使用相同的用户名和密码进行身份验证,而无需每个用户进行不同的身份验证。
Does this make any sense? 这有道理吗?
I think you should seriously consider using an existing MTA which can do authentication and queuing, then just send the messages directly to there and let it relay. 我认为您应该认真考虑使用可以进行身份验证和排队的现有MTA,然后将消息直接发送到那里并让其中继。
Use (for example), sendmail. 使用(例如)sendmail。 This is not a recommendation just an example. 这不是建议,只是一个例子。 Make your own choice. 自行选择。
Making a custom server to do all of this is fraught with problems and will definitely have interoperability problems (because SMTP is such a bag of crap) 制作自定义服务器来完成所有这些工作会遇到很多问题,并且肯定会存在互操作性问题(因为SMTP简直就是一堆垃圾)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.