1/31 Can you give us any pointer for setting up spamassassin on csua under
the new mail system? TIA.
\_ What I did is create a .procmailrc file in your homedir with the following
content:
\_ What I did is create a .procmailrc file in your homedir with the
following content:
:0fw
| /usr/local/bin/spamc
:0 hw:
* ^X-Spam-Status: Yes
spam
And what this does is grab the email that SpamAssassin has tagged as
spammail, strip out the body and shove the header info to a file
called 'spam' in your homedir. And delete them from your mail spool.
Works with the new soda (so far).
spammail, strip out the body and shove the header info to a file called
'spam' in your homedir. And delete them from your mail spool. Works with
the new soda (so far).
NOTE that this is just ONE of the many variations on how to do
.procmailrc. STFG for more examples.
\_ In /csua/soda-changes.2007.01, it mentioned that procmail will not
work with the new /var/mail/$USERNAME directory. Have you
tried if you are still receiving non-spam correctly? -op
NOTE that this is just ONE of the many variations on how to do .procmailrc.
STFG for more examples.
\_ ls -l /usr/local/bin/spamc
ls: /usr/local/bin/spamc: No such file or directory
(there is one in /usr/bin but it seems to be failing, any input
I give it it returns 0/0 (error) and filters nada.
\_ I am using /usr/bin/spamc
\_ Which has no spamd to connect to so it fails every time
\_ Well, this is what I have in my .procmailrc, and it
appears to work:
:0fw
| spamc |