地址与我的虚拟主机具有相同的域名,导致Postfix和QMail恢复到本地networking,而不是直接发送邮件。 我以为我用Luke Tarplin方法解决了这个问题,但是从/etc/postfix/main.cf注释掉这些行从10.4.4更新到PLESK出于某种原因已经停止工作了。
我见过其他build议,包括添加MXlogging,以不同的方式修改main.cf 我对MTA的了解甚less,对DNS设置的了解甚less。
有没有人有一个解决scheme,使Postfix的所有电子邮件收件人相同的任何意见,只是发送电子邮件,而不是恢复到本地?
下面是从我的maillog,我发送到2封电子邮件,1个gmail,一个与vhost相同的地址。 正如你所看到的,一个被发送,一个没有。
Aug 2 05:52:27 server1 postfix/pickup[5242]: C2187750: uid=10013 from=<thermo-ta-ftp> Aug 2 05:52:27 server1 postfix/cleanup[5498]: C2187750: message-id= <[email protected]> Aug 2 05:52:27 server1 postfix/qmgr[32727]: C2187750: from=<thermo-ta- [email protected]>, size=1063, nrcpt=2 (queue active) Aug 2 05:52:27 server1 postfix-local[5503]: postfix-local: [email protected], [email protected], dirname=/var/qmail/mailnames Aug 2 05:52:27 server1 postfix-local[5503]: cannot chdir to mailname dir info: No such file or directory Aug 2 05:52:27 server1 postfix-local[5503]: Unknown user: [email protected] Aug 2 05:52:27 server1 postfix/pipe[5501]: C2187750: to=<[email protected]>, relay=plesk_virtual, delay=0.17, delays=0.11/0/0/0.06, dsn=2.0.0, status=sent (delivered via plesk_virtual service) Aug 2 05:52:28 server1 postfix/smtp[5502]: certificate verification failed for gmail- smtp-in.l.google.com[209.85.225.26]:25: untrusted issuer /C=US/O=Equifax/OU=Equifax Secure Certificate Authority Aug 2 05:52:29 server1 postfix/smtp[5502]: C2187750: to=<[email protected]>, relay=gmail-smtp-in.l.google.com[209.85.225.26]:25, delay=1.6, delays=0.11/0.01/0.29/1.2, dsn=2.0.0, status=sent (250 2.0.0 OK 1343901326 s4si23521367igw.27) Aug 2 05:52:29 server1 postfix/qmgr[32727]: C2187750: removed
更新:这是PLESK问题的100%,它几乎适用于10和11的所有版本。如果vhost域匹配电子邮件收件人,则QMail MTA也会还原为本地处理程序。
8月2日05:52:27 server1 postfix-local [5503]:postfix-local:
[email protected],[email protected],dirname = / var / qmail / mailnames
Aug 2 05:52:27 server1 postfix-local [5503]:can not chdir to mailname dir info:No such file or directory
Aug 2 05:52:27 server1 postfix-local [5503]:未知用户:[email protected]
尽pipe这个“postfix-local”这个令人讨厌的名字,这不是一个后缀组件,而是一个plesk $的东西。
事实上,它接受邮件,然后不交付它应该告诉你足够的这个软件的可靠性:)
再加上“dirname = / var / qmail / mailnames”看起来不像是一个与postfix相关的项目,我怀疑postfix中有什么会导致这个问题。