Mailinglist Archive: opensuse (3785 mails)
| < Previous | Next > |
Re: [SLE] Spamassassin - the quick and dirty how-to?
- From: Ivan Sergio Borgonovo <mail@xxxxxxxxxxxxxxx>
- Date: Thu, 9 Oct 2003 18:40:49 +0200
- Message-id: <20031009184049.3e4220a5.mail@xxxxxxxxxxxxxxx>
On Thu, 9 Oct 2003 13:03:52 -0400
"Steven T. Hatton" <hattons@xxxxxxxxxxxxx> wrote:
> I figured out how to manually get it to read the Mail/spam directory
> and add the samples to the blacklist. That is done by: `sa-learn
> --spam --dir ~/ Mail/spam/cur'
>
> I've also determined that I can do things such as
>
> > test -n "$(spamc -r <
> > ../Mail/spam/cur/1065713078.3551.VrDP\:2\,S)" &&
> echo "positive"
>
> Which echos "postitive" to console when the message is spam. I assume
> I can use the same concept in my KMail filters. But I have yet to
> figure out exactly what I need to do.
>
> Note that I am not using procmail, and I don't have time (nor desire)
> to
> switch. I'm also trying to get a client configured at this point, not
> a server.
Before you make a mess of Razor and Co.
formail -s < mailbox | spamassassin -r
I hope it is right but at least I think you got the idea.
"Steven T. Hatton" <hattons@xxxxxxxxxxxxx> wrote:
> I figured out how to manually get it to read the Mail/spam directory
> and add the samples to the blacklist. That is done by: `sa-learn
> --spam --dir ~/ Mail/spam/cur'
>
> I've also determined that I can do things such as
>
> > test -n "$(spamc -r <
> > ../Mail/spam/cur/1065713078.3551.VrDP\:2\,S)" &&
> echo "positive"
>
> Which echos "postitive" to console when the message is spam. I assume
> I can use the same concept in my KMail filters. But I have yet to
> figure out exactly what I need to do.
>
> Note that I am not using procmail, and I don't have time (nor desire)
> to
> switch. I'm also trying to get a client configured at this point, not
> a server.
Before you make a mess of Razor and Co.
formail -s < mailbox | spamassassin -r
I hope it is right but at least I think you got the idea.
| < Previous | Next > |