Hi,
As an experiment, I tried to set up spam filtering in the following
way:
1. I made a "incoming" filter (called "spam filter").
2. The filter pipes the message to the shell command /usr/bin/spamc -c
and should fire if it doesn't return 0. (This is spamassassin which, I
believe, returns a 1 (with the -c flag) if it thinks the message is
spam.)
3. If the criterion is met, it should move the message to a spam folder.
Well, the long and short of it is that nothing happens; messages are
never moved to the spam folder. I have experimented with several
potential messages, and I think that spamc -c is working. Any ideas?
I read mail via (s)imap, which presumably affect the way that filters
are applied. In any case, the above doesn't work even if I manually hit
"apply filters".
Thanks in advance for any help.
N.b. spamc -c returns a string like 4.8/5 to stout, how can I check that
the return value of this process is indeed a 1?
--
Alexander Russell <acr cse uconn edu>
University of Connecticut
Attachment:
signature.asc
Description: This is a digitally signed message part