所以我只是在我的 VPS 上设置了一个小邮件服务器,它可以正常发送邮件!当它收到邮件时,问题就来了。日志表明它检索消息,将其从队列中删除并传递,但它从未出现!
日志:
Aug 18 14:28:27 joshshouse postfix/smtpd[6345]: connect from mail.lcccorp.com[50.253.219.194]
Aug 18 14:28:27 joshshouse postfix/smtpd[6345]: 302703EA47: client=mail.lcccorp.com[50.253.219.194]
Aug 18 14:28:27 joshshouse postfix/cleanup[6349]: 302703EA47: message-id=<[email protected]>
Aug 18 14:28:27 joshshouse postfix/qmgr[5793]: 302703EA47: from=<[email protected]>, size=990, nrcpt=1 (queue active)
Aug 18 14:28:27 joshshouse postfix/local[6350]: 302703EA47: to=<[email protected]>, relay=local, delay=0.05, delays=0.05/0/0/0, dsn=2.0.0, status=sent (delivered to maildir)
Aug 18 14:28:27 joshshouse postfix/qmgr[5793]: 302703EA47: removed
Aug 18 14:28:27 joshshouse postfix/smtpd[6345]: disconnect from mail.lcccorp.com[50.253.219.194]
似乎没有任何错误。
dovecot -n
结果:
# 2.2.18: /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.8 (0c4ae064f307+)
# OS: Linux 4.2.0-42-generic x86_64 Ubuntu 15.10
auth_debug_passwords = yes
mail_location = mbox:~/mail:INBOX=/var/mail/%u
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
driver = pam
}
protocols = " imap lmtp pop3"
ssl = no
userdb {
driver = passwd
}
这是我的收件箱:
如果您需要更多信息,我会提供。