spamassassin configuration problem
Hi all,
I have installed spamassassin-2.60 and I wish to integrate it with my mailserver(sendmail). I am facing numerous question as to configuration of the same.
I want to know from where I should start. Can't find any suitable tutorial or ...
With Regards,
SS
Quoted 8 lines · Sarvesh Singhal
Hi all,
I have installed spamassassin-2.60 and I wish to integrate it with my mailserver(sendmail). I am facing numerous question as to configuration of the same.
I want to know from where I should start. Can't find any suitable tutorial or ...
I started with the docs on their WWW site. I have a RH-9 system, and I built from the source RPMS for version 2.60-1 and installed them on my system.
Next, I used the following as my /etc/procmailrc:
Quoted 6 lines
DROPPRIVS=yes
:0fw
* < 256000
| spamc
c
(Drop the "> "'s)
Finally, I wanted to have any obvious sent directly to my own SPAM inbox, so I put the following into my .procmailrc file:
Quoted 13 lines
# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "spam.mail". :0: * ^X-Spam-Status: Yes $HOME/spam.mail# Work around procmail bug: any output on stderr will cause the "F" in "From"
# to be dropped. This will re-add it. :0 * ^^rom[ ] { LOG="*** Dropped F off From_ header! Fixing up. "
Quoted 4 lines
:0 fhw
| sed -e '1s/^/F/'
}
Y
(Once again, drop the "> "'s)
Since all local mail uses procmail for local delivery, spamassassin will check all locally delivered emails and change the headers. Your .procmailrc can then be used to check the headers and do what you want with them.
Both of these files were gleemed from the pages at spamassassin.org....
Good Luck (from a recent SpamAssassin convertee....)
Signature · 4 lines
Kevin J. Cummings [email protected] [email protected] [email protected]