Re: [Evolution] Spam Assassin Filter Help Needed



Here's my filter rule (which you'll find in the evo-archives as well):
if
Pipe message to shell command "/usr/bin/spamc -c" does not return "0"
Then
Set status read
move to folder "spam"
stop processing
-----

So instead of looking for the X-Spam-Flag you look at the exit code of
spamd.

Make sure to start the spamd with the following command:
"spamd -d" (or add other options like: "spamd -d -c -a -L")

HTH

On Sun, 2003-09-14 at 08:52, Ralph F. De Witt wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello:
I am trying to move my email usage to Evolution from Kmail. I need some help 
to get Spamassassin working. In Kmail I used to filters to trap spam. One 
filter limited the email to a max of 250000 kb and piped the email through 
Spamassassin. The second filter checked the X-Spam-Flag and if it was set to 
Yes moved the mail to the Spam folder. I have been able to get the first 
filter written, but cannot figure out the second one. Can some one tell me 
how to get Spamassassin working in Evolution?
- -- 
Ralph
==================================================
Gentoo Linux:         Gentoo Base System version 1.4.3.8p1
kernel-2.4.22_pre2-gss                AMD Athlon(tm) XP 2200+
AIM, YAHOO = ralphfdewitt JABBER.ORG = ralphdewitt
Signed and Encrypted mail encouraged
==================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/ZBA0u29DXA3iCF0RAp8bAJ4smB7haylCGL0gWLfXFmOVB2R1+QCfS1ha
KyqvFYtbG2JtDBOJWlQUy1M=
=7BAw
-----END PGP SIGNATURE-----

_______________________________________________
evolution maillist  -  evolution lists ximian com
http://lists.ximian.com/mailman/listinfo/evolution
-- 
# Mertens Bram "M8ram"   <bram-mertens linux be>     Linux User #249103 #
# SuSE 8.2 Pro     kernel 2.4.20-4GB      i686                128MB RAM #
#   11:14pm  up 4 days  4:08,  6 users,  load average: 0.12, 0.22, 0.12 #




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]