邮递员不把邮件转寄到外部地址

我有一个安装postfix在Ubuntu的服务器12.04的邮递员。 我的问题是,邮件列表电子邮件不会转发到我的机构外部的电子邮件地址。 然而

  • 最初的欢迎电子邮件是由所有人在内部和外部接收的。
  • 事实上,从命令行发送mail的简单电子邮件已成功发送给任何人
  • 之后,邮件列表电子邮件只被转发到内部地址。
  • 我用于服务器的域名不是托pipe服务器的机构。

这是我的main.cf

 #myorigin = sub.myinstitution.tld mynetworks = 127.0.0.0/8 xxx.xxx.xxx.xxx/16 # this is my institution ip range relayhost = smtp.myinstitution.tld #inet_interfaces = loopback-only #local_transport = error:local delivery is disabled virtual_alias_maps = hash:/etc/postfix/virtual myhostname = mywebsite.tld mydestination = $myhostname, localhost.$mydomain, localhost #relay_domains = $mydestination, ecs.soton.ac.uk 

我还在serverfault和ubuntu论坛上发现了这两个链接,但是这些解决scheme似乎都不能解决问题。

任何帮助将非常感激。

输出postconf -n

 $ postconf -n config_directory = /etc/postfix mydestination = $myhostname, localhost.$mydomain, localhost myhostname = mywebsite.tld mynetworks = 127.0.0.0/8 xxx.xxx.xxx.xxx/16 myorigin = mywebsite.tld relayhost = smtp.myinstitution.tld virtual_alias_maps = hash:/etc/postfix/virtual 

我不知道要发布什么日志。 那里我看不到任何错误。 当我发送消息时,这是/var/log/mail.log发生的事情:

 Sep 29 10:23:19 mywebsite postfix/pickup[30113]: 3CD85E4382: uid=10785 from=<myuser> Sep 29 10:23:19 mywebsite postfix/cleanup[30172]: 3CD85E4382: message-id=<[email protected]> Sep 29 10:23:19 mywebsite postfix/qmgr[30114]: 3CD85E4382: from=<[email protected]>, size=338, nrcpt=1 (queue active) Sep 29 10:23:19 mywebsite postfix/smtp[30174]: 3CD85E4382: to=<[email protected]>, orig_to=<list>, relay=smtp.myinstitution.tld[xxx.xxx.xxx.xxx]:25, delay=0.07, delays=0.04/0/0.01/0.01, dsn=2.0.0, status=sent (250 2.0.0 q8T9Nap1028342 Message accepted for delivery) Sep 29 10:23:19 mywebsite postfix/qmgr[30114]: 3CD85E4382: removed 

邮递员如何发送电子邮件? 它总是使用本地sendmail(1)命令,还是它也需要SMTPfunction?

您已经使用inet_interfaces = loopback_only明确地使SMTP不可用。

请添加postconf -n的输出和一个显示错误的日志段。