Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Thread

Bug in milter version 2.0.2

Bug in milter version 2.0.2

2005-12-20 by Tomasz Baranowski

Greetings,

I have found something wrong.
Bellow is an excerpt fom /var/log/maillog:

Dec 19 19:01:48 gda-supp-rtr-02 milter-greylist: jBJI1lnP026004: addr 
65.214.43.174 from =globalintech.pl@...> to 
<firstname.lastname@...> delayed for 00:04:00

Dec 19 19:01:53 gda-supp-rtr-02 sendmail[26004]: jBJI1lnP026004: 
from=<538827-firstname.lastname=globalintech.pl@...>, 
size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA_CDP, 
relay=mailhost11.lists.techtarget.com [65.214.43.174]

As shown above, greylist milter truncates first part of email address
(<538827-firstname.lastname),
leaves only "=globalintech.pl@...>" and saves this bad
value as a tuple.

Best regards,
T.B.

Re: [milter-greylist] Bug in milter version 2.0.2

2005-12-20 by Emmanuel Dreyfus

On Tue, Dec 20, 2005 at 10:24:57AM +0100, Tomasz Baranowski wrote:
> As shown above, greylist milter truncates first part of email address
> (<538827-firstname.lastname),
> leaves only "=globalintech.pl@...>" and saves this bad
> value as a tuple.

Is it a bug or a feature? :-)

At least it's done on purpose, though I don't recall why it is not 
configurable, and if it cannot have side effects.
        /* 
         * Strip anything before the last '=' in the 
         * source address. This avoid problems with
         * mailing lists using a unique sender address
         * for each retry. 
         */
        if ((idx = rindex(tmpfrom, '=')) == NULL)
                idx = tmpfrom;


-- 
Emmanuel Dreyfus
manu@...

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.