You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Adam Cécile (Le_Vert)" <ga...@le-vert.net> on 2007/08/15 18:24:01 UTC

[AWL] Unable to remove a whitelisted user

Hi,

I have some bad addresses whitelisted however I can't remove it:

bash-3.1# strings auto-whitelist | grep vzkughniohqqhw@glrrc.org
vzkughniohqqhw@glrrc.org|ip=218.186
vzkughniohqqhw@glrrc.org|ip=218.186|totscore

bash-3.1# spamassassin --remove-addr-from-whitelist=vzkughniohqqhw@glrrc.org
SpamAssassin auto-whitelist: removing address: vzkughniohqqhw@glrrc.org

bash-3.1# strings auto-whitelist | grep vzkughniohqqhw@glrrc.org
vzkughniohqqhw@glrrc.org|ip=218.186
vzkughniohqqhw@glrrc.org|ip=218.186|totscore

Verbose log attached.

Thanks in advance!


Re: [AWL] Unable to remove a whitelisted user

Posted by Theo Van Dinter <fe...@apache.org>.
On Wed, Aug 15, 2007 at 06:24:01PM +0200, "Adam Cécile (Le_Vert)" wrote:
> I have some bad addresses whitelisted however I can't remove it:
> 
> bash-3.1# strings auto-whitelist | grep vzkughniohqqhw@glrrc.org
> vzkughniohqqhw@glrrc.org|ip=218.186
> vzkughniohqqhw@glrrc.org|ip=218.186|totscore
> 
> bash-3.1# spamassassin --remove-addr-from-whitelist=vzkughniohqqhw@glrrc.org
> SpamAssassin auto-whitelist: removing address: vzkughniohqqhw@glrrc.org
> 
> bash-3.1# strings auto-whitelist | grep vzkughniohqqhw@glrrc.org
> vzkughniohqqhw@glrrc.org|ip=218.186
> vzkughniohqqhw@glrrc.org|ip=218.186|totscore

DBM files don't generally remove the data from the file, they just
remove the pointers to the data.  So you don't want strings, you'd
want to check all the DBM keys.  There are several ways to do this,
though "db_dump -p auto-whitelist" may be easiest.  There's a tool at
http://svn.apache.org/repos/asf/spamassassin/trunk/tools/check_whitelist
which you could probably use.

-- 
Randomly Selected Tagline:
Boycott Shampoo...demand the REAL poo instead.