You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@issues.apache.org on 2011/01/26 14:36:06 UTC

[Bug 6540] wildcard in unwhitelist_from example is incorrect

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6540

--- Comment #1 from Mark Martinec <Ma...@ijs.si> 2011-01-26 08:36:03 EST ---
> Just seen there's a wildcard used for an example in the unwhitelist_from
> documentation. Am I right that this is not allowed for unwhitelist_from
> so the example should be removed from the documentation?

No, the example is alright. A wildcard in unwhitelist_from only matches
literally a wildcard in the whitelist_from list. This makes it possibly
to remove a previously entered wildcard entry from the list.

I'll attach a documentation update, I hope this would make it more clear.

But examining the code I noticed that whitelist_from lowercases its
argument and stores it this way in the list, while the unwhitelist
counterpart forgets to lowercase its argument. Same applies to
unwhitelist_from_rcvd. The attached patch should fix it.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.