- To: slug@xxxxxxxxxxx
- Subject: [SLUG] SpamAssassin further question
- From: "Simon Bryan" <sbryan@xxxxxxxxxxxxxxx>
- Date: Mon, 2 Jun 2003 22:15:33 +1000 (EST)
- Reply-to: sbryan@xxxxxxxxxxxxxxx
- User-agent: SquirrelMail/1.4.0
Hi all,
I have SA happily running on both my mailservers. At first I just had it tag the
mail, now I want to automatically dump it in the users Trash (the next step will be
to not deliver it to the user at all - we are a school).
On one system I changed spamassassin-spamc.rc to:
:0fw
| /usr/bin/spamc
:0:
* ^X-Spam-Status: Yes
~/INBOX.Trash
which seems to be working - without the ~ it gets put in /var/spool/mqueue/INBOX.trash
On the second system where the mail is in ~/mail and the Trash is ~/mail/Trash I put:
:0fw
| /usr/bin/spamc
:0:
* ^X-Spam-Status: Yes
~/mail/Trash
which should work, however SA is happily totally ignoring that and still just
tagging the mail and putting it back in the users INBOX. Yes I have stopped and
started the spamd daemon and am currently running with -x. I searched through all
the possible directories listed in the INSTALL file as to where there might be a
second set of configuration files, but could not find any except those in
/etc/mail/spamassassin.
For the completeness of the record /etc/procmailrc is:
INCLUDERC=/etc/mail/spamassassin/spamassassin-spamc.rc
All files in /etc/mail/spamassassin are owned by root and in the root group, however
they have been chmod to 777
____________________
Simon Bryan
IT Manager
OLMC Parramatta