Sendmail适当的configuration
我有一个小型服务器(Ubuntu 14.04)多个网站。 其中一个网站需要通过各种操作(注册,密码恢复等)向用户发送电子邮件。 我安装了sendmail,我可以从PHP脚本发送邮件。 我configuration了SFP DNS条目。 我服务器的主机名是“橡皮”。 我的/ etc / hosts文件包含 127.0.0.1 localhost localhost.localdomain rubber public.ip.address rubber 使用此configuration,发送电子邮件需要很长时间(大约20秒)。 另外,sendmail日志(/var/log/mail.log)显示如下一行: Sep 24 17:28:52 server sendmail[19842]: s8OFSLUd019842: to=<[email protected]>, delay=00:00:15, xdelay=00:00:15, mailer=relay, pri=30370, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (s8OFSbcl019844 Message accepted for delivery) 收到的邮件标题看起来像这样(我已经改变了真实的地址): Delivered-To: [email protected] Received: by 10.112.136.195 with SMTP id qc3csp517582lbb; Wed, 24 Sep 2014 08:20:55 -0700 […]