On 10/23/2015 01:26 AM, Wietse Venema wrote: > Marco Stoecker: >>> You need to find the records where the same message is delivered >>> more than once to the same recipient, then look for all the records >>> with the same Postfix QUEUE ID. That will show if the duplication >>> happened BEFORE Postfix or INSIDE Postfix.S It may not matter for >>> the recipient, but it matters for the solution. >> >> Here is an entry beginning where an email was sent 5 times >> >> Oct 22 10:40:10 hostname postfix/local[4909]: BF9AD1C94: to=... >> >> Is BF9AD1C94 the Postfix QUEUE ID? > > Yes. > >> If so, than each mail that was sent 5 times have 5 different QUEUE ID's. > > Then Postfix received 5 different messages. > >> Is that an indicator that the duplication happend earlier (maybe by >> mailman?) in the chain? > > You need to search for the logfile records where these 5 messages > were received. Usually that will be smtpd records for SMTP mail, > or pickup records for mail received with /usr/sbin/sendmail. > > Wietse >
So I got new information, because I also posted in the related mailman list. Here is the log, where postfix got the original message (which was sent to 5 mailing lists) and handed over to mailman (which is done 5 times with different postfix ID's). So mailman got 5 times a message to 5 lists, so each member got 5 times the same message. I'm just curious about the message-id=<008b01d10ca4$eb5fd0b0$c21f7210$@de>, this is always the same, but the postfix ID differ. Any glue? Oct 22 10:40:05 wakis02 postfix/smtpd[4898]: connect from localhost[::1] Oct 22 10:40:05 wakis02 postfix/smtpd[4898]: BF9AD1C94: client=localhost[::1] Oct 22 10:40:05 wakis02 postfix/cleanup[4901]: BF9AD1C94: message-id=<008b01d10ca4$eb5fd0b0$c21f7210$@de> Oct 22 10:40:10 wakis02 postfix/qmgr[1304]: BF9AD1C94: from=<sen...@adr.de>, size=312694, nrcpt=5 (queue active) Oct 22 10:40:10 wakis02 postfix/smtpd[4898]: ADDE72652: client=localhost[::1] Oct 22 10:40:10 wakis02 postfix/cleanup[4901]: ADDE72652: message-id=<008b01d10ca4$eb5fd0b0$c21f7210$@de> Oct 22 10:40:10 wakis02 postfix/local[4903]: BF9AD1C94: to=<beisitz@localhost>, relay=local, delay=5.2, delays=4.9/0.03/0/0.3, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post beisitz) Oct 22 10:40:10 wakis02 postfix/local[4909]: BF9AD1C94: to=<vorstand@localhost>, relay=local, delay=5.3, delays=4.9/0.11/0/0.29, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post vorstand) Oct 22 10:40:10 wakis02 postfix/local[4907]: BF9AD1C94: to=<kollegium@localhost>, relay=local, delay=5.3, delays=4.9/0.07/0/0.33, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post kollegium) Oct 22 10:40:10 wakis02 postfix/local[4905]: BF9AD1C94: to=<gruppensprecher@localhost>, relay=local, delay=5.3, delays=4.9/0.05/0/0.36, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post gruppensprecher) Oct 22 10:40:10 wakis02 postfix/local[4902]: BF9AD1C94: to=<ak-leiter@localhost>, relay=local, delay=5.3, delays=4.9/0.02/0/0.39, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post ak-leiter) Oct 22 10:40:11 wakis02 postfix/qmgr[1304]: BF9AD1C94: removed Oct 22 10:40:12 wakis02 postfix/smtpd[4920]: connect from localhost[::1] Oct 22 10:40:12 wakis02 postfix/smtpd[4920]: 2AFF52697: client=localhost[::1] Oct 22 10:40:12 wakis02 postfix/cleanup[4921]: 2AFF52697: message-id=<008b01d10ca4$eb5fd0b0$c21f7210$@de> Oct 22 10:40:21 wakis02 postfix/qmgr[1304]: ADDE72652: from=<sen...@adr.de>, size=312704, nrcpt=5 (queue active) Oct 22 10:40:21 wakis02 postfix/local[4909]: ADDE72652: to=<vorstand@localhost>, relay=local, delay=11, delays=11/0.01/0/0.35, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post vorstand) Oct 22 10:40:21 wakis02 postfix/local[4905]: ADDE72652: to=<gruppensprecher@localhost>, relay=local, delay=11, delays=11/0/0/0.35, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post gruppensprecher) Oct 22 10:40:21 wakis02 postfix/local[4903]: ADDE72652: to=<ak-leiter@localhost>, relay=local, delay=11, delays=11/0/0/0.35, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post ak-leiter) Oct 22 10:40:21 wakis02 postfix/local[4902]: ADDE72652: to=<beisitz@localhost>, relay=local, delay=11, delays=11/0/0/0.36, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post beisitz) Oct 22 10:40:21 wakis02 postfix/local[4907]: ADDE72652: to=<kollegium@localhost>, relay=local, delay=11, delays=11/0.01/0/0.36, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post kollegium) Oct 22 10:40:21 wakis02 postfix/smtpd[4898]: 8010E3A: client=localhost[::1] Oct 22 10:40:21 wakis02 postfix/cleanup[4901]: 8010E3A: message-id=<008b01d10ca4$eb5fd0b0$c21f7210$@de> Oct 22 10:40:21 wakis02 postfix/qmgr[1304]: ADDE72652: removed Oct 22 10:40:23 wakis02 postfix/qmgr[1304]: 2AFF52697: from=<beisitz-boun...@waldorfkindergarten-erlangen.de>, size=314124, nrcpt=1 (queue active) Oct 22 10:40:23 wakis02 postfix/smtpd[4920]: 63AC226AE: client=localhost[::1] Oct 22 10:40:23 wakis02 postfix/cleanup[4921]: 63AC226AE: message-id=<008b01d10ca4$eb5fd0b0$c21f7210$@de> Oct 22 10:40:27 wakis02 postfix/smtp[4937]: 2AFF52697: to=<ema...@mail.de>, relay=smtp.1und1.de[212.227.15.183]:25, delay=16, delays=11/0.17/0.17/4.1, dsn=2.0.0, status=sent (250 Requested mail action okay, completed: id=0MUQrq-1ZyZK12VWs-00R3sy) Oct 22 10:40:27 wakis02 postfix/qmgr[1304]: 2AFF52697: removed Oct 22 10:40:32 wakis02 postfix/qmgr[1304]: 8010E3A: from=<sen...@adr.de>, size=312694, nrcpt=5 (queue active) Oct 22 10:40:32 wakis02 postfix/local[4903]: 8010E3A: to=<gruppensprecher@localhost>, relay=local, delay=11, delays=11/0/0/0.32, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post gruppensprecher) Oct 22 10:40:32 wakis02 postfix/local[4909]: 8010E3A: to=<vorstand@localhost>, relay=local, delay=11, delays=11/0.01/0/0.32, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post vorstand) Oct 22 10:40:32 wakis02 postfix/local[4902]: 8010E3A: to=<ak-leiter@localhost>, relay=local, delay=11, delays=11/0/0/0.33, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post ak-leiter) Oct 22 10:40:32 wakis02 postfix/local[4907]: 8010E3A: to=<kollegium@localhost>, relay=local, delay=11, delays=11/0.01/0/0.33, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post kollegium) Oct 22 10:40:32 wakis02 postfix/local[4905]: 8010E3A: to=<beisitz@localhost>, relay=local, delay=11, delays=11/0/0/0.34, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post beisitz) Oct 22 10:40:32 wakis02 postfix/smtpd[4898]: 8251C2697: client=localhost[::1] Oct 22 10:40:32 wakis02 postfix/cleanup[4901]: 8251C2697: message-id=<008b01d10ca4$eb5fd0b0$c21f7210$@de> Oct 22 10:40:32 wakis02 postfix/qmgr[1304]: 8010E3A: removed Oct 22 10:40:33 wakis02 postfix/smtpd[4920]: disconnect from localhost[::1] Oct 22 10:40:33 wakis02 postfix/smtpd[4920]: connect from localhost[::1] Oct 22 10:40:34 wakis02 postfix/qmgr[1304]: 63AC226AE: from=<beisitz-boun...@waldorfkindergarten-erlangen.de>, size=314101, nrcpt=2 (queue active) Oct 22 10:40:34 wakis02 postfix/smtpd[4920]: 230E52694: client=localhost[::1] Oct 22 10:40:34 wakis02 postfix/cleanup[4921]: 230E52694: message-id=<008b01d10ca4$eb5fd0b0$c21f7210$@de> Oct 22 10:40:38 wakis02 postfix/smtp[4937]: 63AC226AE: to=<ema...@mail.de>, relay=smtp.1und1.de[212.227.15.167]:25, delay=15, delays=11/0.13/0.18/4.2, dsn=2.0.0, status=sent (250 Requested mail action okay, completed: id=0LkPdb-1aMsY51RPP-00cMXf) Oct 22 10:40:38 wakis02 postfix/smtp[4937]: 63AC226AE: to=<ema...@mail.de>, relay=smtp.1und1.de[212.227.15.167]:25, delay=15, delays=11/0.13/0.18/4.2, dsn=2.0.0, status=sent (250 Requested mail action okay, completed: id=0LkPdb-1aMsY51RPP-00cMXf) Oct 22 10:40:38 wakis02 postfix/qmgr[1304]: 63AC226AE: removed Oct 22 10:40:43 wakis02 postfix/qmgr[1304]: 8251C2697: from=<sen...@adr.de>, size=312695, nrcpt=5 (queue active) Oct 22 10:40:43 wakis02 postfix/smtpd[4898]: 98DC6269A: client=localhost[::1] Oct 22 10:40:43 wakis02 postfix/local[4905]: 8251C2697: to=<beisitz@localhost>, relay=local, delay=12, delays=11/0/0/0.35, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post beisitz) Oct 22 10:40:43 wakis02 postfix/local[4902]: 8251C2697: to=<ak-leiter@localhost>, relay=local, delay=12, delays=11/0/0/0.35, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post ak-leiter) Oct 22 10:40:43 wakis02 postfix/local[4903]: 8251C2697: to=<gruppensprecher@localhost>, relay=local, delay=12, delays=11/0/0/0.35, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post gruppensprecher) Oct 22 10:40:43 wakis02 postfix/local[4909]: 8251C2697: to=<kollegium@localhost>, relay=local, delay=12, delays=11/0/0/0.36, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post kollegium) Oct 22 10:40:43 wakis02 postfix/local[4907]: 8251C2697: to=<vorstand@localhost>, relay=local, delay=12, delays=11/0/0/0.36, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post vorstand) Oct 22 10:40:43 wakis02 postfix/cleanup[4901]: 98DC6269A: message-id=<008b01d10ca4$eb5fd0b0$c21f7210$@de> Oct 22 10:40:44 wakis02 postfix/qmgr[1304]: 8251C2697: removed Oct 22 10:40:45 wakis02 postfix/qmgr[1304]: 230E52694: from=<ak-leiter-boun...@waldorfkindergarten-erlangen.de>, size=314166, nrcpt=1 (queue active) Oct 22 10:40:46 wakis02 postfix/smtpd[4920]: E1EE526B3: client=localhost[::1] Oct 22 10:40:46 wakis02 postfix/cleanup[4921]: E1EE526B3: message-id=<008b01d10ca4$eb5fd0b0$c21f7210$@de> Oct 22 10:40:50 wakis02 postfix/smtp[4937]: 230E52694: to=<ema...@mail.de>, relay=smtp.1und1.de[212.227.15.183]:25, delay=17, delays=12/0.32/0.2/4.1, dsn=2.0.0, status=sent (250 Requested mail action okay, completed: id=0MUjgO-1a1LbG1CxA-00Y9t2) Oct 22 10:40:50 wakis02 postfix/qmgr[1304]: 230E52694: removed Oct 22 10:40:54 wakis02 postfix/smtpd[4898]: disconnect from localhost[::1] Oct 22 10:40:54 wakis02 postfix/qmgr[1304]: 98DC6269A: from=<sen...@adr.de>, size=312696, nrcpt=5 (queue active) Oct 22 10:40:55 wakis02 postfix/local[4905]: 98DC6269A: to=<gruppensprecher@localhost>, relay=local, delay=12, delays=11/0/0/0.38, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post gruppensprecher) Oct 22 10:40:55 wakis02 postfix/local[4907]: 98DC6269A: to=<kollegium@localhost>, relay=local, delay=12, delays=11/0/0/0.39, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post kollegium) Oct 22 10:40:55 wakis02 postfix/local[4903]: 98DC6269A: to=<vorstand@localhost>, relay=local, delay=12, delays=11/0.01/0/0.39, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post vorstand) Oct 22 10:40:55 wakis02 postfix/local[4909]: 98DC6269A: to=<beisitz@localhost>, relay=local, delay=12, delays=11/0/0/0.4, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post beisitz) Oct 22 10:40:55 wakis02 postfix/local[4902]: 98DC6269A: to=<ak-leiter@localhost>, relay=local, delay=12, delays=11/0/0/0.4, dsn=2.0.0, status=sent (delivered to command: /var/lib/mailman/mail/mailman post ak-leiter) Oct 22 10:40:55 wakis02 postfix/qmgr[1304]: 98DC6269A: removed