Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Re: milter-greylist 2.0 rc1

2005-05-20 by Brian W. Antoine

At 09:20 AM 05/20/2005, Brian W. Antoine wrote:
>   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.

   Ok, I've tracked the problem to the emailcmp() routine in acl.c, which
somebody modified to strip leading and trailing characters from recently.
The problem is, they strip them from the real strings, not temporary copies
that are then used for the comparison, and while they simply step over the
leading characters they don't want, they actually truncate the string to
get rid of the extras.

   Stripping leading and trailing whitespace is probably OK, but I think the
< and > should be left in place.  Opinions?

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.