![postfix 多个接收器延迟](https://linux22.com/image/760362/postfix%20%E5%A4%9A%E4%B8%AA%E6%8E%A5%E6%94%B6%E5%99%A8%E5%BB%B6%E8%BF%9F.png)
我遇到了一个问题,当 @domain1 或 @domain2 的用户向多个收件人发送电子邮件时,他们会在不同的时间收到邮件。我检查了邮件日志,发现哪个用户立即收到邮件,哪个用户 1 小时后收到邮件,这是随机的。
第一个收到邮件的用户的示例日志:
Nov 27 12:13:26 mail postfix/qmgr[4129]: 5E47E43920E2: from=<user1@domain>, size=6344, nrcpt=1 (queue active)
Nov 27 12:13:26 mail spamd[7673]: spamd: connection from localhost [::1]:59406 to port 783, fd 6
Nov 27 12:13:26 mail spamd[7673]: spamd: setuid to spamd succeeded
Nov 27 12:13:26 mail spamd[7673]: spamd: processing message <D02A66CA-C108-436E-83BA-F64rfrw@domain> for spamd:1000
Nov 27 12:13:26 mail postfix/smtpd[7592]: disconnect from mail.google.com[1.1.1.1]
Nov 27 12:13:27 mail spamd[7673]: spamd: clean message (-1.9/2.9) for spamd:1000 in 1.0 seconds, 6261 bytes.
Nov 27 12:13:27 mail spamd[7673]: spamd: result: . -1 - BAYES_00,DKIM_SIGNED,DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED scantime=1.0,size=6261,user=spamd,uid=1000,required_score=2.9,rhost=localhost,raddr=::1,rport=59406,mid=<D02A66CA-C108-436E-83BA-F64ArffA3A7@domain>,bayes=0.000000,autolearn=ham autolearn_force=no
Nov 27 12:13:27 mail postfix/pickup[27709]: 6BE4543920E7: uid=1000 from=<user@domain>
Nov 27 12:13:27 mail postfix/cleanup[7657]: 6BE4543920E7: message-id=<D02A66CA-C108-436E-83BA-F64DEFDSA3A7@domain>
Nov 27 12:13:27 mail postfix/pipe[7647]: 5E47E43920E2: to=<rok.kotnik@mydomaini>, relay=spamassassin, delay=1.2, delays=0.17/0/0/0.98, dsn=2.0.0, status=sent (delivered via spamassassin service)
Nov 27 12:13:27 mail postfix/qmgr[4129]: 5E47E43920E2: removed
Nov 27 12:13:27 mail postfix/qmgr[4129]: 6BE4543920E7: from=<user@domain>, size=6775, nrcpt=1 (queue active)
Nov 27 12:13:27 mail dovecot: lmtp(7672): Connect from local
Nov 27 12:13:27 mail dovecot: lmtp(rok.kotnik@mydomain): 6IHGGlffwF/4HQfelzaOg: sieve: msgid=<D02A66CA-C108-436E-83BA-Fffffe@domain>: stored mail into mailbox 'INBOX'
Nov 27 12:13:27 mail dovecot: lmtp(7672): Disconnect from local: Successful quit
因此大约 1 小时后第二个用户也将收到相同的邮件。
由于我们只有 20 个用户,所以我以前从未注意到该问题,但这非常烦人。
有人有主意吗 ?