Yahoo Groups archive

Milter-greylist

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

Message

Re: milter-greylist 2.0 rc1

2005-05-20 by Brian W. Antoine

>   I upgraded to rc1 this morning and I'm seeing a small bug in the logging,
>the trailing > on from addresses is being lost during the processing of a
>message.  I've narrowed it down to this call in milter-greylist.c
>
>     /*
>      * Check the ACL
>      */
>     if ((priv->priv_whitelist = acl_filter(SA(&priv->priv_addr),
>         priv->priv_addrlen, priv->priv_hostname, priv->priv_from,
>         rcpt, priv->priv_queueid)) & EXF_WHITELIST) {
>         priv->priv_elapsed = 0;
>         return SMFIS_CONTINUE;
>     }
>
>   The priv->priv_from value is fine before the acl_filter() call and
>is truncated by one character after returning from that call.  I've
>looked through that function and don't see anything obvious.  Is anybody
>else seeing this?

   BTW, the bug is a bit more severe then I first thought.  It appears that
any acl rule testing against "from" now fails if the rule was written as
the examples are, with a trailing >.  I reverted back to b2 because our
local whitelistings were all broken.

Attachments

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.