我已经设置了一个信箱中的邮件最近它在主域上运行良好 - 它可以正常发送和接收电子邮件。
我想添加另一个域,因此我遵循相同的步骤 [更改 DNS、设置 MX 记录、在邮箱界面中创建用户]。
我可以接收电子邮件,我测试过从 Gmail 帐户发送。但是当我回复该测试时,电子邮件没有进入我的 Gmail 帐户 [既不是收件箱也不是垃圾邮件]。
tail -f /var/log/mail.log
我在向上述 Gmail 帐户发送电子邮件时获得了此日志。
Aug 3 04:59:16 mail dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=4101, TLS, session=<EfteYmQcMAB/AAAB>
Aug 3 04:59:16 mail dovecot: imap([email protected]): Disconnected: Logged out in=117 out=943
Aug 3 04:59:18 mail dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=4105, TLS, session=<Jjt+YmQcMQB/AAAB>
Aug 3 04:59:18 mail dovecot: imap([email protected]): Disconnected: Logged out in=32 out=462
Aug 3 04:59:18 mail dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=4107, TLS, session=<i7aBYmQcMgB/AAAB>
Aug 3 04:59:18 mail dovecot: imap([email protected]): Disconnected: Logged out in=44 out=611
Aug 3 04:59:38 mail postfix/submission/smtpd[4112]: connect from localhost[127.0.0.1]
Aug 3 04:59:38 mail postfix/submission/smtpd[4112]: 59E8214035B: client=localhost[127.0.0.1], sasl_method=LOGIN, [email protected]
Aug 3 04:59:38 mail postfix/cleanup[4114]: 59E8214035B: replace: header Received: from mail.domain.ro (localhost [127.0.0.1])??(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))??(No client certificate requested)??by mail.domain.ro (Postfix) with ESMTPSA id 59E8214 from localhost[127.0.0.1]; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail.domain.ro>: Received: from authenticated-user (unknown [127.0.0.1])??(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))??(No client certificate requested)??by mail.domain.ro (Postfix) with ESMTPSA id 59E8214035B??for <[email protected]>; Mon, 3 Aug 2015 11:59:38 +0300 (EEST)
Aug 3 04:59:38 mail postfix/cleanup[4114]: 59E8214035B: message-id=<[email protected]>
Aug 3 04:59:38 mail postfix/qmgr[14142]: 59E8214035B: from=<[email protected]>, size=658, nrcpt=1 (queue active)
Aug 3 04:59:38 mail dovecot: lmtp(4117): Connect from 127.0.0.1
Aug 3 04:59:38 mail dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=4118, TLS, session=<EtOyY2QcNQB/AAAB>
Aug 3 04:59:38 mail spampd[1499]: processing message <[email protected]> for <[email protected]>
Aug 3 04:59:38 mail dovecot: imap([email protected]): Disconnected: Logged out in=473 out=581
Aug 3 04:59:38 mail postfix/submission/smtpd[4112]: disconnect from localhost[127.0.0.1]
Aug 3 04:59:38 mail spampd[1499]: clean message <[email protected]> (-0.99/5.00) from <[email protected]> for <[email protected]> in 0.09s, 1171 bytes.
Aug 3 04:59:38 mail dovecot: lmtp(4117, [email protected]): c7FtHXotv1UVEAAAvHPqVw: sieve: msgid=<[email protected]>: stored mail into mailbox 'INBOX'
Aug 3 04:59:38 mail postfix/lmtp[4115]: 59E8214035B: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10025, delay=0.55, delays=0.37/0.02/0.02/0.14, dsn=2.0.0, status=sent (250 2.0.0 <[email protected]> c7FtHXotv1UVEAAAvHPqVw Saved)
Aug 3 04:59:38 mail dovecot: lmtp(4117): Disconnect from 127.0.0.1: Successful quit
Aug 3 04:59:38 mail postfix/qmgr[14142]: 59E8214035B: removed
Aug 3 04:59:39 mail dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=4120, TLS, session=<Iii/Y2QcOAB/AAAB>
Aug 3 04:59:39 mail dovecot: imap([email protected]): Disconnected: Logged out in=44 out=611
Aug 3 04:59:39 mail dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=4122, TLS, session=<ijDIY2QcOQB/AAAB>
Aug 3 04:59:39 mail dovecot: imap([email protected]): Disconnected: Logged out in=290 out=1375
Aug 3 04:59:40 mail dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=4124, TLS, session=<neDKY2QcOgB/AAAB>
Aug 3 04:59:40 mail dovecot: imap([email protected]): Disconnected: Logged out in=120 out=743
有人能帮我弄清楚发生了什么吗?这个设置是最近才设置的,半个小时前。我提到这一点是因为它与 DNS 传播有关 - 虽然我认为如果是这种情况,我将无法接收电子邮件,而无法发送电子邮件。
答案1
您发布的日志条目似乎没有显示任何外发投递尝试。发往 的电子邮件看起来[email protected]
是在本地投递的,这往往表明 出现了严重问题virtual_domains
,因为您的邮件服务器似乎认为它应该接收 Gmail 的邮件。除此之外,谁知道邮箱在幕后可能隐藏着什么秘密。