You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Bowie Bailey <Bo...@BUC.com> on 2005/08/31 20:16:36 UTC

Delete an address from the AWL?

I have a particular address which has been learned incorrectly by the AWL.
I have added a custom rule to catch these spams, but the AWL is currently
deducting about 2.2 points from each one (the last one went from 6.3 to 4.1
because of the AWL).  Is there any way to remove an address from the AWL or
do I have to delete the entire thing to reset it?

And, yes, I do understand how the AWL works.  If I understand correctly, it
should eventually fix itself now that SA is properly scoring the messages,
but I would prefer not to wait.

Bowie

Re: Delete an address from the AWL?

Posted by Jon Drukman <js...@cluttered.com>.
Thomas Deliduka wrote:
> Ah, Gotcha. So, how can I simply empty out the AWL?  I want it reverted to
> nothing so I can start fresh.

rm $HOME/.spamassassin/auto-whitelist*


Re: Delete an address from the AWL?

Posted by Thomas Deliduka <th...@xenocast.com>.
Ah, Gotcha. So, how can I simply empty out the AWL?  I want it reverted to
nothing so I can start fresh.


On 8/31/05 3:08 PM this was written:

> Thomas Deliduka wrote:
>> How do you simply clear out the entire AWL? I don't know where it is
>> physically located.
>> 
>> I tried spamassassin -R but it just hangs  with -D it just stops after it
>> loads the bayes stuff.
>> 
> 
> Yeah.. did you feed it a message? As standard input?
> 
> -R, aka --remove-from-whitelist requires you pipe in a message as input. It
> searches the message and clears out the addresses found in the message.
> 
> --remove-addr-from-whitelist takes an email address on the command line. No
> email message required.
> 
> ie these commands will hang:
> spamassassin -R -D
> spamassassin -R -D spam.txt
> 
> 
> This will do something
> spamassassin -R -D < spam.txt
> 

-- 

Thomas Deliduka
Chief Technology Officer
     -------------------------
Xenocast
Street Smart Media Solutions
http://www.xenocast.com/




Re: Delete an address from the AWL?

Posted by Matt Kettler <mk...@evi-inc.com>.
Thomas Deliduka wrote:
> How do you simply clear out the entire AWL? I don't know where it is
> physically located.
> 
> I tried spamassassin -R but it just hangs  with -D it just stops after it
> loads the bayes stuff.
> 

Yeah.. did you feed it a message? As standard input?

-R, aka --remove-from-whitelist requires you pipe in a message as input. It
searches the message and clears out the addresses found in the message.

--remove-addr-from-whitelist takes an email address on the command line. No
email message required.

ie these commands will hang:
spamassassin -R -D
spamassassin -R -D spam.txt


This will do something
spamassassin -R -D < spam.txt


Re: Delete an address from the AWL?

Posted by Thomas Deliduka <th...@xenocast.com>.
How do you simply clear out the entire AWL? I don't know where it is
physically located.

I tried spamassassin -R but it just hangs  with -D it just stops after it
loads the bayes stuff.

On 8/31/05 2:29 PM this was written:

> At 11:21 AM Wednesday, 8/31/2005, Matt Kettler wrote -=>
>> Bowie Bailey wrote:
>>> I have a particular address which has been learned incorrectly by the AWL.
>>> I have added a custom rule to catch these spams, but the AWL is currently
>>> deducting about 2.2 points from each one (the last one went from 6.3 to 4.1
>>> because of the AWL).  Is there any way to remove an address from the AWL or
>>> do I have to delete the entire thing to reset it?
>>> 
>>> And, yes, I do understand how the AWL works.  If I understand correctly, it
>>> should eventually fix itself now that SA is properly scoring the messages,
>>> but I would prefer not to wait.
>>> 
>>> Bowie
>>> 
>> 
>> man spamassassin
>> 
>> see --remove-addr-from-whitelist, and cousins.
> 
> There's always "spamassassin --help"
> 
> --remove-addr-from-whitelist=addr               Remove addr from persistent
> address list

-- 

Thomas Deliduka
Chief Technology Officer
     -------------------------
Xenocast
Street Smart Media Solutions
http://www.xenocast.com/




Re: Delete an address from the AWL?

Posted by Ed Kasky <ed...@esson.net>.
At 11:21 AM Wednesday, 8/31/2005, Matt Kettler wrote -=>
>Bowie Bailey wrote:
> > I have a particular address which has been learned incorrectly by the AWL.
> > I have added a custom rule to catch these spams, but the AWL is currently
> > deducting about 2.2 points from each one (the last one went from 6.3 to 4.1
> > because of the AWL).  Is there any way to remove an address from the AWL or
> > do I have to delete the entire thing to reset it?
> >
> > And, yes, I do understand how the AWL works.  If I understand correctly, it
> > should eventually fix itself now that SA is properly scoring the messages,
> > but I would prefer not to wait.
> >
> > Bowie
> >
>
>man spamassassin
>
>see --remove-addr-from-whitelist, and cousins.

There's always "spamassassin --help"

--remove-addr-from-whitelist=addr               Remove addr from persistent 
address list

. . . . . . . . . . . . . . . . . .
Randomly Generated Quote (213 of 1003):
"We made too many wrong mistakes."
         -- Yogi Berra, 1960


Re: Delete an address from the AWL?

Posted by Matt Kettler <mk...@evi-inc.com>.
Bowie Bailey wrote:
> I have a particular address which has been learned incorrectly by the AWL.
> I have added a custom rule to catch these spams, but the AWL is currently
> deducting about 2.2 points from each one (the last one went from 6.3 to 4.1
> because of the AWL).  Is there any way to remove an address from the AWL or
> do I have to delete the entire thing to reset it?
> 
> And, yes, I do understand how the AWL works.  If I understand correctly, it
> should eventually fix itself now that SA is properly scoring the messages,
> but I would prefer not to wait.
> 
> Bowie
> 

man spamassassin

see --remove-addr-from-whitelist, and cousins.