Messages from= and pflogsumm

2012-02-02 Thread Nikolaos Milas

Hello,

In the logs, there are cases where some message seems to be coming from=.

This seems to be happening when local Postfix returns some delivery 
report to sender (sender delivery status notification).


In such cases PFLOGSUMM, instead of a domain name or full sender 
address, displays in the stats from=.


Here are some examples:

Host/Domain Summary: Messages Received
---
 msg cnt   bytes   host/domain
  ---  ---
...

  1 1875   somehost.noa.gr
  1 1850   from=
  1 1806   chandler.mit.edu

...

Senders by message count

...
 44   us...@noa.gr
 43   from=
 42   us...@example.org
...

Senders by message size
---
...
   1936k  us...@example.gr
   1724k  from=
   1633k  us...@example.gr
...

Is it intended behavior? Or in such cases, pflogsumm could report using 
some pre-set term e.g. localhost (or the server domain name) and 
local-mailer@localhost (or even better the actual address used by 
postfix when delivering reports - see below) respectively?


Note: In our system, I see that delivery notifications (Successful Mail 
Delivery Report) seem to be coming from:

Mail Delivery System mailer-dae...@noa.gr

Can I customize this in Postfix?

Thanks and best regards,
Nick


Re: Messages from= and pflogsumm

2012-02-02 Thread Jim Seymour
On Thu, 02 Feb 2012 23:49:19 +0200
Nikolaos Milas nmi...@noa.gr wrote:

 Hello,
 
 In the logs, there are cases where some message seems to be coming
 from=.

That's because they are.

 
[snip]
 
 In such cases PFLOGSUMM, instead of a domain name or full sender 
 address, displays in the stats from=.

That's because the sender is the null sender.  So it was either
display nothing at all, or show from= to make it clear those were
from the null sender.

 
[snip]
 
 Is it intended behavior?
[snip]

Yes.

Regards,
Jim
-- 
Note: My mail server employs *very* aggressive anti-spam
filtering.  If you reply to this email and your email is
rejected, please accept my apologies and let me know via my
web form at http://jimsun.LinxNet.com/contact/scform.php.