Yahoo Groups archive

Milter-greylist

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

Message

milter-greylist 2.0 rc1

2005-05-19 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?

   Example from debugging added around the call:

May 19 13:40:36 mxa milter-greylist: j4JKeZRA032115: addr = 69.6.174.155, 
from = <>, rcpt = <nea58npz@...>
May 19 13:40:36 mxa milter-greylist: j4JKeZRA032115: addr = 69.6.174.155, 
from = <, rcpt = <nea58npz@...>

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.