On Tue, 27 May 2025 17:43:37 -0400
Jim Seymour via Postfix-users <postfix-users@postfix.org> wrote:

> Hi All,
> 
> Pflogsumm version 1.1.9 has been released. This is a Beta release
> that supersedes the v1.1.7 and v1.1.8 Beta releases.
[snip]

This morning's pflogsumm report again contained a mismatch between
messages received and delivered.

I don't care for mysteries, so I tracked it down. I think I've a legit
fix.

Rather than do another Beta release right away I'm going to suggest
those of you with an experimental bent might wish to apply this patch
against pflogsumm v1.1.9:

961a962,971
> # Experimental:
> #
> # If messages were "received" but undelivered, unforwarded, and not
> # rejected in cleanup, odds are nothing was ever really received—not
> # even a 0-length message.
> #
> if(my $noSizeCnt = scalar grep { !exists $rcvdMsg{$_}{'size'} } keys 
> %rcvdMsg) {
>     $msgsRcvd -= $noSizeCnt;
> }
> 

For those who are curious: This is how this happens:

    postfix/smtpd[1128847]: connect from s49.hubucoapp.com[185.196.52.49] 
    postfix/smtpd[1128847]: 67609120194: client=s49.hubucoapp.com[185.196.52.49]
    postfix/smtpd[1128847]: disconnect from s49.hubucoapp.com[185.196.52.49] 
helo=1 mail=1 rcpt=1 quit=1 commands=4

The client does *just enough* to create a queue I.D., then bails.

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>.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to