我一直有麻烦让我的服务器发送电子邮件,我没有为我的生活找出如何解决它。 如果有人能给我一些简单的指针,那将非常感激!
May 19 15:36:03 ubuntu-12 sm-mta[2484]: s4JFa3jp002484: from=<[email protected] production>, size=412, class=0, nrcpts=1, msgid=<[email protected] production>, proto=ESMTP, daemon=MTA-v4, relay=ip6-localhost [127.0.0.1] May 19 15:36:03 ubuntu-12 sendmail[2483]: s4JFZw4c002483: [email protected], ctladdr=www-data (33/33), delay=00:00:05, xdelay=00:00:05, mailer=relay, pri=30123, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (s4JFa3jp002484 Message accepted for delivery) May 19 15:36:03 ubuntu-12 sm-mta[2487]: s4JFa3jp002484: to=<[email protected]>, ctladdr=<[email protected]> (33/33), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120412, relay=mailserver.mycompany.com. [213.171.216.115], dsn=5.0.0, stat=Service unavaila$ May 19 15:36:03 ubuntu-12 sm-mta[2487]: s4JFa3jp002484: s4JFa3jp002487: DSN: Service unavailable May 19 15:36:03 ubuntu-12 sm-mta[2487]: s4JFa3jp002487: to=<[email protected]>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30000, dsn=2.0.0, stat=Sent
该输出的第三行告诉我,发送服务器工作正常,但接收服务器“mailserver.mycompany.com”不在侦听传入的邮件。 服务被closures或者不在监听外部地址。