欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

帮忙看下postfix 发不了邮件NOQUEUE: reject: RCPT from localhost

程序员文章站 2022-05-17 16:56:37
...
这是日志

Dec 28 17:01:49 to8todb postfix/master[19382]: daemon started -- version 2.7.1, configuration /etc/postfix
Dec 28 17:02:06 to8todb postfix/smtpd[19453]: connect from localhost[127.0.0.1]
Dec 28 17:02:06 to8todb postfix/trivial-rewrite[19456]: warning: do not list domain corp.to8to.com in BOTH mydestination and virtual_mailbox_domains
Dec 28 17:02:06 to8todb postfix/smtpd[19453]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 : Recipient address rejected: qq.com; from= to= proto=ESMTP helo=
Dec 28 17:02:06 to8todb postfix/smtpd[19453]: lost connection after RCPT from localhost[127.0.0.1]
Dec 28 17:02:06 to8todb postfix/smtpd[19453]: disconnect from localhost[127.0.0.1]
Dec 28 17:11:06 to8todb postfix/smtpd[19505]: connect from localhost[127.0.0.1]


回复讨论(解决方案)

已解决 虽然没人回答
做个记号
Originally Posted by brunojcm
I got the same error several times, and I fixed it commenting the following lines:

#default_transport = error
#relay_transport = error

I was following the instructions here:

http://serverfault.com/questions/119...m-via-port-587

参考网址 http://ubuntuforums.org/showthread.php?t=2010514

我也遇到这种问题,在测试Clamav时, telnet localhost 25 出现
NOQUEUE: reject: RCPT from localhost[::1]: 553 5.7.1


我按照你的方法,还是一样有问题

我postfix版本是2.6的, 如何解决,谢谢