主题: 发给内部的某个用户的邮件被退回,发给其他人的都正常,怎么回事??
AA@mydomain.cn 发送给BB@mydomain.cn的邮件会被退回,而发给其他用户的都正常,下面是日志,看看是哪里的问题:
Nov 3 14:45:43 rojao postfix/smtpd[8062]: connect from unknown[58.62.82.235]
Nov 3 14:45:43 rojao postfix/smtpd[8062]: 905239A59DC: client=unknown[58.62.82.235], sasl_method=LOGIN, sasl_username=AA@mydomain.cn
Nov 3 14:45:43 rojao postfix/cleanup[8065]: 905239A59DC: message-id=<201011031445479539481@mydomain.cn>
Nov 3 14:45:43 rojao postfix/qmgr[2891]: 905239A59DC: from=<AA@mydomain.cn>, size=5023, nrcpt=1 (queue active)
Nov 3 14:45:43 rojao postfix/smtpd[8062]: disconnect from unknown[58.62.82.235]
Nov 3 14:45:46 rojao postfix/smtpd[8070]: connect from mydomain.cn[127.0.0.1]
Nov 3 14:45:46 rojao postfix/trivial-rewrite[8064]: warning: do not list domain rojao.cn in BOTH mydestination and virtual_mailbox_domains
Nov 3 14:45:46 rojao postfix/trivial-rewrite[8064]: warning: do not list domain rojao.cn in BOTH mydestination and virtual_mailbox_domains
Nov 3 14:45:46 rojao postfix/smtpd[8070]: 367C89A59E2: client=mydomain.cn[127.0.0.1]
Nov 3 14:45:46 rojao postfix/cleanup[8065]: 367C89A59E2: message-id=<201011031445479539481@mydomain.cn>
Nov 3 14:45:46 rojao postfix/qmgr[2891]: 367C89A59E2: from=<AA@mydomain.cn>, size=5860, nrcpt=1 (queue active)
Nov 3 14:45:46 rojao postfix/trivial-rewrite[8064]: warning: do not list domain mydomain.cn in BOTH mydestination and virtual_mailbox_domains
Nov 3 14:45:46 rojao postfix/smtpd[8070]: disconnect from mydomain.cn[127.0.0.1]
Nov 3 14:45:46 rojao amavis[4944]: (04944-18) Passed CLEAN, LOCAL [58.62.82.235] [58.62.82.235] <AA@mydomain.cn> -> <BB@mydomain.cn>, Message-ID: <201011031445479539481@mydomain.cn>, mail_id: SLyia95mVqKM, Hits: -1.388, size: 5023, queued_as: 367C89A59E2, 2522 ms
Nov 3 14:45:46 rojao postfix/smtp[8067]: 905239A59DC: to=<BB@mydomain.cn>, relay=localhost[127.0.0.1]:10024, delay=2.7, delays=0.14/0.01/0/2.5, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=04944-18, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 367C89A59E2)
Nov 3 14:45:46 rojao postfix/qmgr[2891]: 905239A59DC: removed
Nov 3 14:45:46 rojao postfix/pickup[7532]: 3E9119A59E4: uid=500 from=<AA@mydomain.cn>
Nov 3 14:45:46 rojao postfix/cleanup[8065]: 3E9119A59E4: message-id=<201011031445479539481@mydomain.cn>
Nov 3 14:45:46 rojao postfix/pipe[8071]: 367C89A59E2: to=<BB@mydomain.cn>, relay=dovecot, delay=0.04, delays=0/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via dovecot service)
Nov 3 14:45:46 rojao postfix/qmgr[2891]: 367C89A59E2: removed
Nov 3 14:45:46 rojao postfix/qmgr[2891]: 3E9119A59E4: from=<AA@mydomain.cn>, size=5994, nrcpt=1 (queue active)
Nov 3 14:45:46 rojao postfix/pipe[8071]: 3E9119A59E4: to=<BB@mydomain.cn>, relay=dovecot, delay=0.02, delays=0.01/0/0/0.01, dsn=5.4.6, status=bounced (mail forwarding loop for BB@mydomain.cn)
Nov 3 14:45:46 rojao postfix/cleanup[8065]: 423E69A59E2: message-id=<20101103064546.423E69A59E2@mydomain.cn>
Nov 3 14:45:46 rojao postfix/qmgr[2891]: 423E69A59E2: from=<>, size=7610, nrcpt=1 (queue active)
Nov 3 14:45:46 rojao postfix/bounce[8075]: 3E9119A59E4: sender non-delivery notification: 423E69A59E2
Nov 3 14:45:46 rojao postfix/trivial-rewrite[8064]: warning: do not list domain mydomain.cn in BOTH mydestination and virtual_mailbox_domains
Nov 3 14:45:46 rojao postfix/qmgr[2891]: 3E9119A59E4: removed
Nov 3 14:45:46 rojao postfix/pipe[8071]: 423E69A59E2: to=<AA@mydomain.cn>, relay=dovecot, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered via dovecot service)
Nov 3 14:45:46 rojao postfix/qmgr[2891]: 423E69A59E2: removed
Nov 3 14:46:18 rojao roundcube: [03-Nov-2010 14:46:18 +0800]: Successful login for BB@mydomain.cn (id 24) from 58.62.82.235
Nov 3 14:47:08 rojao postfix/smtpd[8062]: connect from unknown[58.62.82.235]
Nov 3 14:47:08 rojao postfix/trivial-rewrite[8123]: warning: do not list domain rojao.cn in BOTH mydestination and virtual_mailbox_domains
Nov 3 14:47:08 rojao postfix/smtpd[8062]: NOQUEUE: reject: RCPT from unknown[58.62.82.235]: 553 5.7.1 <AA@mydomain.cn>: Sender address rejected: not logged in; from=<AA@mydomain.cn> to=<BB@mydomain.cn> proto=SMTP helo=<T61>
Nov 3 14:47:08 rojao postfix/smtpd[8062]: lost connection after RCPT from unknown[58.62.82.235]
Nov 3 14:47:08 rojao postfix/smtpd[8062]: disconnect from unknown[58.62.82.235]
我发现问题出在:
Nov 3 14:47:08 rojao postfix/smtpd[8062]: NOQUEUE: reject: RCPT from unknown[58.62.82.235]: 553 5.7.1 <AA@mydomain.cn>: Sender address rejected: not logged in; from=<AA@mydomain.cn> to=<BB@mydomain.cn> proto=SMTP helo=<T61>
这行上。Sender address rejected:,怎么会发送者地址被拒绝呢??同一个发送者发送给其他人的就正常,唯独发给BB的被退回,可能是哪里出的问题呢??