【发布时间】:2014-05-24 18:06:39
【问题描述】:
我已经在我的 Raspberry Pi 上安装了 Postfix 和 Dovecot。 Pi 位于域 scubbo.org 后面。当我向 pi@scubbo.org 发送电子邮件(从 GMail 帐户,通过网络)时,邮件已送达:
pi@raspberrypi /etc/postfix $ whoami
pi
pi@raspberrypi /etc/postfix $ mail
Heirloom mailx version 12.5 6/20/10. Type ? for help.
"/var/mail/pi": 1 message 1 new
>N 1 Jack Jackson Sat May 24 00:06 42/1825 This was sent from gmail to pi@scubbo.org
但是当我向 scubbo@scubbo.org 尝试同样的事情时,它没有送达:
pi@raspberrypi /etc/postfix $ su - scubbo
Password:
scubbo@raspberrypi:~$ mail
No mail for scubbo
任何想法为什么?我看不到任何特殊配置:
pi@raspberrypi /etc/postfix $ grep -ir 'pi' .
[...only results for "pipe", "recipients", etc...]
pi@raspberrypi /etc/postfix $ grep -ir 'scubbo' .
[...only results for the domain, not the user...]
编辑:
- postconf -n:http://pastebin.com/VaREy2q4
- /etc/别名:http://pastebin.com/RiRmKmTj
- 在接收到 pi@scubbo.org 的消息期间记录:http://pastebin.com/Ya89utFY
- 在接收到 scubo@scubbo.org 的消息期间记录:http://pastebin.com/nudG61xx
【问题讨论】:
-
能否把
postconf -n的输出和postfix生成的日志行贴出来更好的帮助你。 -
找到了解决方案(请参阅下面的答案)-如果您提供答案,我很乐意接受/投票以寻求帮助。谢谢!
标签: postfix-mta dovecot