总算找到这个帖子了。
iRedMail的相关日志
Dec 13 13:24:28 mail postfix/smtpd[30669]: connect from unknown[10.0.0.1]
Dec 13 05:24:28 mail policyd: connection from: 127.0.0.1 port: 35887 slots: 0 of 2044 used
Dec 13 05:24:28 mail policyd: rcpt=73, greylist=new, host=10.0.0.1 (unknown), from=userB1@example.com, to=jxqnoc@domain.ltd, size=0
Dec 13 13:24:28 mail postfix/smtpd[30669]: NOQUEUE: reject: RCPT from unknown[10.0.0.1]: 450 4.7.1 <jxqnoc@domain.ltd>: Recipient address rejected: Policy Rejection- Please try later.; from=<userB1@example.com> to=<jxqnoc@domain.ltd> proto=SMTP helo=<mail.example.com>
Dec 13 13:24:28 mail postfix/smtpd[30669]: lost connection after RCPT from unknown[10.0.0.1]
Dec 13 13:24:28 mail postfix/smtpd[30669]: disconnect from unknown[10.0.0.1]
Dec 13 13:27:48 mail postfix/anvil[30671]: statistics: max connection rate 1/60s for (smtp:10.0.0.1) at Dec 13 13:24:28
Dec 13 13:27:48 mail postfix/anvil[30671]: statistics: max connection count 1 for (smtp:10.0.0.1) at Dec 13 13:24:28
Dec 13 13:27:48 mail postfix/anvil[30671]: statistics: max cache size 1 at Dec 13 13:24:28
Dec 13 13:39:47 mail postfix/smtpd[30919]: connect from unknown[10.0.0.1]
Dec 13 05:39:47 mail policyd: connection from: 127.0.0.1 port: 35922 slots: 0 of 2044 used
Dec 13 05:39:47 mail policyd: rcpt=74, greylist=update, host=10.0.0.1 (unknown), from=userB1@example.com, to=jxqnoc@domain.ltd, size=0
Dec 13 13:39:47 mail postfix/smtpd[30919]: 6DAAE59302AB: client=unknown[10.0.0.1]
Dec 13 13:39:47 mail postfix/cleanup[30925]: 6DAAE59302AB: message-id=<201112132125331059360@example.com>
Dec 13 13:39:47 mail postfix/qmgr[6834]: 6DAAE59302AB: from=<userB1@example.com>, size=4355, nrcpt=4 (queue active)
Dec 13 13:39:47 mail postfix/smtpd[30919]: disconnect from unknown[10.0.0.1]
Dec 13 13:39:47 mail amavis[21659]: (21659-08) NOTICE: reconnecting in response to: err=2006, HY000, DBD::mysql::st execute failed: MySQL server has gone away at (eval 102) line 166, <GEN14> line 1062.
Dec 13 13:40:02 mail postfix/smtpd[30953]: connect from localhost.localdomain[127.0.0.1]
Dec 13 13:40:02 mail postfix/smtpd[30954]: connect from localhost.localdomain[127.0.0.1]
Dec 13 13:40:02 mail postfix/smtpd[30953]: A6EA759302AC: client=localhost.localdomain[127.0.0.1]
Dec 13 13:40:02 mail postfix/cleanup[30925]: A6EA759302AC: message-id=<201112132125331059360@example.com>
Dec 13 13:40:02 mail postfix/smtpd[30954]: A9CBF59302AD: client=localhost.localdomain[127.0.0.1]
Dec 13 13:40:02 mail postfix/cleanup[30957]: A9CBF59302AD: message-id=<201112132125331059360@example.com>
Dec 13 13:40:02 mail postfix/qmgr[6834]: A6EA759302AC: from=<userB1@example.com>, size=4798, nrcpt=1 (queue active)
Dec 13 13:40:02 mail amavis[21659]: (21659-08) Passed CLEAN, LOCAL [10.0.0.1] [118.192.38.140] <userB1@example.com> -> <idc@example.com>, Message-ID: <201112132125331059360@example.com>, mail_id: t0qq-1l-luuA, Hits: 5.074, size: 4355, queued_as: A6EA759302AC, 15235 ms
Dec 13 13:40:02 mail postfix/smtpd[30953]: disconnect from localhost.localdomain[127.0.0.1]
Dec 13 13:40:02 mail postfix/qmgr[6834]: A9CBF59302AD: from=<userB1@example.com>, size=5021, nrcpt=1 (queue active)
Dec 13 13:40:02 mail amavis[31396]: (31396-15) Passed CLEAN, LOCAL [10.0.0.1] [118.192.38.140] <userB1@example.com> -> <report@domain.ltd>, Message-ID: <201112132125331059360@example.com>, mail_id: VjbY3DhCwswo, Hits: 5.074, size: 4355, queued_as: A9CBF59302AD, 15249 ms
Dec 13 13:40:02 mail postfix/smtpd[30954]: disconnect from localhost.localdomain[127.0.0.1]
Dec 13 13:40:02 mail postfix/smtp[30958]: A6EA759302AC: enabling PIX workarounds: disable_esmtp delay_dotcrlf for mail.example.com[10.0.0.1]:25
Dec 13 13:40:02 mail postfix/smtp[30930]: 6DAAE59302AB: to=<idc@example.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=15, delays=0.08/0.02/0.01/15, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=21659-08, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A6EA759302AC)
Dec 13 13:40:02 mail postfix/smtp[30931]: 6DAAE59302AB: to=<report@domain.ltd>, relay=127.0.0.1[127.0.0.1]:10024, delay=15, delays=0.08/0.03/0/15, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=31396-15, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A9CBF59302AD)
Dec 13 13:40:02 mail postfix/smtp[30958]: A6EA759302AC: to=<idc@example.com>, relay=mail.example.com[10.0.0.1]:25, delay=0.13, delays=0.05/0.05/0.03/0, dsn=5.0.0, status=bounced (host mail.example.com[10.0.0.1] said: 553 you must authentication (in reply to MAIL FROM command))
Dec 13 13:40:02 mail postfix/smtpd[30953]: connect from localhost.localdomain[127.0.0.1]
Dec 13 13:40:02 mail postfix/smtpd[30953]: E37E159302B0: client=localhost.localdomain[127.0.0.1]
Dec 13 13:40:02 mail postfix/cleanup[30925]: E375A59302AF: message-id=<20111213054002.E375A59302AF@mail.domain.ltd>
Dec 13 13:40:02 mail postfix/cleanup[30957]: E37E159302B0: message-id=<201112132125331059360@example.com>
Dec 13 13:40:02 mail postfix/smtpd[30954]: connect from localhost.localdomain[127.0.0.1]
Dec 13 13:40:02 mail postfix/smtpd[30954]: F1CFD59302B1: client=localhost.localdomain[127.0.0.1]
Dec 13 13:40:02 mail postfix/cleanup[30964]: F1CFD59302B1: message-id=<201112132125331059360@example.com>
Dec 13 13:40:02 mail postfix/qmgr[6834]: E37E159302B0: from=<userB1@example.com>, size=4812, nrcpt=1 (queue active)
Dec 13 13:40:03 mail postfix/bounce[30961]: A6EA759302AC: sender non-delivery notification: E375A59302AF
Dec 13 13:40:03 mail amavis[21659]: (21659-09) Passed CLEAN, LOCAL [10.0.0.1] [118.192.38.140] <userB1@example.com> -> <userB2@example.com>, Message-ID: <201112132125331059360@example.com>, mail_id: dgA5dUE26YAm, Hits: 5.074, size: 4355, queued_as: E37E159302B0, 201 ms
Dec 13 13:40:03 mail postfix/qmgr[6834]: F1CFD59302B1: from=<userB1@example.com>, size=4814, nrcpt=1 (queue active)
Dec 13 13:40:03 mail postfix/qmgr[6834]: A6EA759302AC: removed
Dec 13 13:40:03 mail postfix/qmgr[6834]: E375A59302AF: from=<>, size=6728, nrcpt=1 (queue active)
Dec 13 13:40:03 mail postfix/smtp[30958]: E37E159302B0: enabling PIX workarounds: disable_esmtp delay_dotcrlf for mail.example.com[10.0.0.1]:25
Dec 13 13:40:03 mail amavis[31396]: (31396-16) Passed CLEAN, LOCAL [10.0.0.1] [118.192.38.140] <userB1@example.com> -> <userB3@example.com>, Message-ID: <201112132125331059360@example.com>, mail_id: uz8stIzc51iP, Hits: 5.074, size: 4355, queued_as: F1CFD59302B1, 204 ms
Dec 13 13:40:03 mail postfix/smtp[30930]: 6DAAE59302AB: to=<userB2@example.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=16, delays=0.08/15/0.01/0.27, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=21659-09, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as E37E159302B0)
Dec 13 13:40:03 mail postfix/smtp[30965]: F1CFD59302B1: enabling PIX workarounds: disable_esmtp delay_dotcrlf for mail.example.com[10.0.0.1]:25
Dec 13 13:40:03 mail postfix/smtp[30966]: E375A59302AF: enabling PIX workarounds: disable_esmtp delay_dotcrlf for mail.example.com[10.0.0.1]:25
Dec 13 13:40:03 mail postfix/smtp[30931]: 6DAAE59302AB: to=<userB3@example.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=16, delays=0.08/15/0/0.27, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=31396-16, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as F1CFD59302B1)
Dec 13 13:40:03 mail postfix/smtp[30966]: E375A59302AF: to=<userB1@example.com>, relay=mail.example.com[10.0.0.1]:25, delay=0.21, delays=0.13/0.05/0.01/0.02, dsn=2.0.0, status=sent (250 ok message accepted for delivery)
Dec 13 13:40:03 mail postfix/qmgr[6834]: 6DAAE59302AB: removed
Dec 13 13:40:03 mail postfix/qmgr[6834]: E375A59302AF: removed
Dec 13 13:40:03 mail postfix/smtp[30958]: E37E159302B0: to=<userB2@example.com>, relay=mail.example.com[10.0.0.1]:25, delay=0.13, delays=0.07/0.05/0.01/0, dsn=5.0.0, status=bounced (host mail.example.com[10.0.0.1] said: 553 you must authentication (in reply to MAIL FROM command))
Dec 13 13:40:03 mail postfix/cleanup[30957]: 244C959302AB: message-id=<20111213054003.244C959302AB@mail.domain.ltd>
Dec 13 13:40:03 mail postfix/smtp[30965]: F1CFD59302B1: to=<userB3@example.com>, relay=mail.example.com[10.0.0.1]:25, delay=0.12, delays=0.02/0.07/0.03/0, dsn=5.0.0, status=bounced (host mail.example.com[10.0.0.1] said: 553 you must authentication (in reply to MAIL FROM command))
Dec 13 13:40:03 mail postfix/cleanup[30925]: 2D6FE59302AF: message-id=<20111213054003.2D6FE59302AF@mail.domain.ltd>
Dec 13 13:40:03 mail postfix/bounce[30961]: E37E159302B0: sender non-delivery notification: 244C959302AB
Dec 13 13:40:03 mail postfix/qmgr[6834]: 2D6FE59302AF: from=<>, size=6760, nrcpt=1 (queue active)
Dec 13 13:40:03 mail postfix/qmgr[6834]: E37E159302B0: removed
Dec 13 13:40:03 mail postfix/qmgr[6834]: 244C959302AB: from=<>, size=6756, nrcpt=1 (queue active)
Dec 13 13:40:03 mail postfix/bounce[30968]: F1CFD59302B1: sender non-delivery notification: 2D6FE59302AF
Dec 13 13:40:03 mail postfix/qmgr[6834]: F1CFD59302B1: removed
Dec 13 13:40:03 mail postfix/smtp[30966]: 2D6FE59302AF: enabling PIX workarounds: disable_esmtp delay_dotcrlf for mail.example.com[10.0.0.1]:25
Dec 13 13:40:03 mail postfix/smtp[30958]: 244C959302AB: enabling PIX workarounds: disable_esmtp delay_dotcrlf for mail.example.com[10.0.0.1]:25
Dec 13 13:40:03 mail postfix/smtp[30966]: 2D6FE59302AF: to=<userB1@example.com>, relay=mail.example.com[10.0.0.1]:25, delay=0.22, delays=0.13/0.03/0.01/0.06, dsn=2.0.0, status=sent (250 ok message accepted for delivery)
Dec 13 13:40:03 mail postfix/smtp[30958]: 244C959302AB: to=<userB1@example.com>, relay=mail.example.com[10.0.0.1]:25, delay=0.26, delays=0.2/0/0.01/0.05, dsn=2.0.0, status=sent (250 ok message accepted for delivery)
Dec 13 13:40:03 mail postfix/qmgr[6834]: 244C959302AB: removed
Dec 13 13:40:03 mail postfix/qmgr[6834]: 2D6FE59302AF: removed
Dec 13 13:40:03 mail postfix/pipe[30959]: A9CBF59302AD: to=<report@domain.ltd>, relay=dovecot, delay=0.77, delays=0.06/0.05/0/0.67, dsn=2.0.0, status=sent (delivered via dovecot service)
Dec 13 13:40:03 mail postfix/qmgr[6834]: A9CBF59302AD: removed
[root@mail mysql]# for cf in $(ls); do echo "-> ${cf}"; postmap -q userB1@example.com mysql:./${cf}; done
-> catchall_maps.cf
-> domain_alias_catchall_maps.cf
-> domain_alias_maps.cf
-> recipient_bcc_maps_domain.cf
-> recipient_bcc_maps_user.cf
-> relay_domains.cf
-> sender_bcc_maps_domain.cf
-> sender_bcc_maps_user.cf
-> sender_login_maps.cf
-> transport_maps_domain.cf
-> transport_maps_user.cf
-> virtual_alias_maps.cf
-> virtual_mailbox_domains.cf
-> virtual_mailbox_maps.cf
[root@mail mysql]# for cf in $(ls); do echo "-> ${cf}"; postmap -q example.com mysql:./${cf}; done
-> catchall_maps.cf
-> domain_alias_catchall_maps.cf
-> domain_alias_maps.cf
-> recipient_bcc_maps_domain.cf
-> recipient_bcc_maps_user.cf
-> relay_domains.cf
-> sender_bcc_maps_domain.cf
-> sender_bcc_maps_user.cf
-> sender_login_maps.cf
-> transport_maps_domain.cf
-> transport_maps_user.cf
-> virtual_alias_maps.cf
-> virtual_mailbox_domains.cf
-> virtual_mailbox_maps.cf
[root@mail mysql]# for cf in $(ls); do echo "-> ${cf}"; postmap -q report@domain.ltd mysql:./${cf}; done
-> catchall_maps.cf
-> domain_alias_catchall_maps.cf
-> domain_alias_maps.cf
-> recipient_bcc_maps_domain.cf
-> recipient_bcc_maps_user.cf
-> relay_domains.cf
-> sender_bcc_maps_domain.cf
-> sender_bcc_maps_user.cf
-> sender_login_maps.cf
report@domain.ltd
-> transport_maps_domain.cf
-> transport_maps_user.cf
-> virtual_alias_maps.cf
report@domain.ltd
-> virtual_mailbox_domains.cf
-> virtual_mailbox_maps.cf
vmail1/report@domain.ltd/
[root@mail mysql]# for cf in $(ls); do echo "-> ${cf}"; postmap -q domain.ltd mysql:./${cf}; done
-> catchall_maps.cf
-> domain_alias_catchall_maps.cf
-> domain_alias_maps.cf
-> recipient_bcc_maps_domain.cf
-> recipient_bcc_maps_user.cf
-> relay_domains.cf
-> sender_bcc_maps_domain.cf
-> sender_bcc_maps_user.cf
-> sender_login_maps.cf
-> transport_maps_domain.cf
dovecot
-> transport_maps_user.cf
-> virtual_alias_maps.cf
-> virtual_mailbox_domains.cf
domain.ltd
-> virtual_mailbox_maps.cf
Winmail那台服务器我没有权限,所以搞不到日志。