[Postfixbuch-users] Pflogsumm zählt falsch

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Fr Aug 12 09:32:48 CEST 2005


* Thomas Schwenski <ts_kw at gmx.de>:
> Hallo,
> 
> ich lasse mir täglich die Mailauswertung von pflogsumm.pl schicken.
> Dabei fiel mir auf, dass pflogsumm bei einem User der mehrere hundert Mails
> gestern geschrieben hat gleich mal 300 bis 400 Stück mehr gezählt hat, als
> es wirklich sind.
> 
> (Kategorie "Senders by message count").
> 
> Daher habe ich das auch mal bei anderen Usern nachgeprüft und tatsächlich es
> waren immer mehr Mails als tatsächlich geschrieben wurden.
> 
> Postfix ist Mailrelay für einen Exchange-Server.
> Die Anzahl der tatsächlichen Mails habe ich mir von Exchange besorgt.
> 
> Deshalb habe ich mir mal die Logfiles von Postfix vorgeknöpft.
> Hier mal ein Auszug daraus
> 
> Aug 11 23:51:40 mail postfix/smtp[25500]: CED0E479953:
> to=<user1 at example.com>, relay=127.0.0.1[127.0.0.1], delay=15, status=sent
> (250 2.6.0 Ok, id=25339-07, from MTA: 250 Ok: queued as 9304D479971)
> Aug 11 23:51:40 mail postfix/smtp[25500]: CED0E479953:
> to=<user2 at example.com>, relay=127.0.0.1[127.0.0.1], delay=15, status=sent
> (250 2.6.0 Ok, id=25339-07, from MTA: 250 Ok: queued as 9304D479971)
> Aug 11 23:51:40 mail postfix/smtp[25500]: CED0E479953:
> to=<user3 at example.com>, relay=127.0.0.1[127.0.0.1], delay=15, status=sent
> (250 2.6.0 Ok, id=25339-07, from MTA: 250 Ok: queued as 9304D479971)
> Aug 11 23:51:40 mail postfix/smtp[25500]: CED0E479953:
> to=<user4 at example.com>, relay=127.0.0.1[127.0.0.1], delay=15, status=sent
> (250 2.6.0 Ok, id=25339-07, from MTA: 250 Ok: queued as 9304D479971)
> Aug 11 23:51:40 mail postfix/smtp[25500]: CED0E479953:
> to=<user5 at example.com>, relay=127.0.0.1[127.0.0.1], delay=15, status=sent
> (250 2.6.0 Ok, id=25339-07, from MTA: 250 Ok: queued as 9304D479971)
> Aug 11 23:51:40 mail postfix/smtp[25500]: CED0E479953:
> to=<user6 at example.com>, relay=127.0.0.1[127.0.0.1], delay=15, status=sent
> (250 2.6.0 Ok, id=25339-07, from MTA: 250 Ok: queued as 9304D479971)
> Aug 11 23:51:40 mail postfix/qmgr[345]: CED0E479953: removed
> Aug 11 23:51:40 mail postfix/smtp[25514]: 9304D479971:
> to=<user1 at example.com>, relay=10.253.0.22[10.253.0.22], delay=0, status=sent
> (250 2.6.0  <1282.barrington at chianti.55.headstrong.com> Queued mail for
> delivery)
> Aug 11 23:51:40 mail postfix/smtp[25514]: 9304D479971:
> to=<user2 at example.com>, relay=10.253.0.22[10.253.0.22], delay=0, status=sent
> (250 2.6.0  <1282.barrington at chianti.55.headstrong.com> Queued mail for
> delivery)
> Aug 11 23:51:40 mail postfix/smtp[25514]: 9304D479971:
> to=<user3 at example.com>, relay=10.253.0.22[10.253.0.22], delay=0, status=sent
> (250 2.6.0  <1282.barrington at chianti.55.headstrong.com> Queued mail for
> delivery)
> Aug 11 23:51:40 mail postfix/smtp[25514]: 9304D479971:
> to=<user4 at example.com>, relay=10.253.0.22[10.253.0.22], delay=0, status=sent
> (250 2.6.0  <1282.barrington at chianti.55.headstrong.com> Queued mail for
> delivery)
> Aug 11 23:51:40 mail postfix/smtp[25514]: 9304D479971:
> to=<user5 at example.com>, relay=10.253.0.22[10.253.0.22], delay=0, status=sent
> (250 2.6.0  <1282.barrington at chianti.55.headstrong.com> Queued mail for
> delivery)
> Aug 11 23:51:40 mail postfix/smtp[25514]: 9304D479971:
> to=<user6 at example.com>, relay=10.253.0.22[10.253.0.22], delay=0, status=sent
> (250 2.6.0  <1282.barrington at chianti.55.headstrong.com> Queued mail for
> delivery)
> 
> Wenn ich das richtig deute, ist hier eine Mail mit 5 Empfängern aus meiner
> Domain gekommen, oder?

Nein. Du musst die Qmgr Einträge dazu sehen.
 
> "CED0E479953" und "9304D479971" sind doch so etwas wie Message-IDs

Nein.

> Warum ändern die sich?

Das ist die Queue-ID. Ein Mail mit mehreren Empfängern hat eine Queue-ID.

-- 
Ralf Hildebrandt (Ralf.Hildebrandt at charite.de)          spamtrap at charite.de
http://www.postfix-book.com/                     Tel. +49 (0)30-450 570-155
Why you can't find your system administrators:
Booted to DOS and is playing doom across the network. 



Mehr Informationen über die Mailingliste Postfixbuch-users