Mailinglist Archive: opensuse (1702 mails)

< Previous Next >
Re: [opensuse] SPAM filter in openSUSE 11.1
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Mon, 7 Sep 2009 21:09:57 +0200 (CEST)
  • Message-id: <alpine.LSU.2.00.0909072054520.5706@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Monday, 2009-09-07 at 17:23 +0200, Roger Oberholtzer wrote:

On Mon, 2009-09-07 at 10:51 -0400, Anton Aylward wrote:

[Useful step list deleted]

Makes sense. My stumbling block is the fact that the mail is in MailDir
folders. I guess I would need the cron job to:

1. Get the contents of some MailDir folders into, say, mbox format
directories. This is to satisfy the input formats that sa_learn
supports, which does not include MailDir.

No need. This should work for maildir:

sa-learn --spam --showdots --dir /pathto/spam

But it is not documented, though:

--dir Ignored; historical compatability
--file Ignored; historical compatability
--mbox Input sources are in mbox format

- -- Cheers,
Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkqlWo4ACgkQtTMYHG2NR9X79wCfS0ZQDKGpaVx1lylRkmuYCLuv
lGYAn1m1lf1RSJamXXOcP0Rf0sTdAYk2
=I/UL
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >