Joe Polk wrote: > I'm trying to get spamass-milter to work. But I don't really want to > recompile sendmail. I'd prefer to work with rpm's if possible. Then > again, I have everything setup but no spam is being filtered. <sigh> >
1) Type: sendmail -bt -d0.1 </dev/null Look for "Compiled with" option MILTER. Later redhat RPM's should be compile with this option. 2) To compile spamass-milter, be sure to load the sendmail-devel RPM. This loads the milter libraries needed to compile. 3) Add the following to your sendmail.mc, and recreate sendmail.cf (This is all one line). INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass.sock, F=, T=C:15m;S:4m;R:4m;E:10m') 4) Copy the spamass-milter supplied redhat init script to /etc/init.d and insure it starts "before" sendmail at whatever runlevel your system is set to. 5) Add whatever spamass-milter command line options (man spamass-milter) you need to /etc/sysconfig/spamass-milter. I use the -i and -u options. 6) Start spamass-milter. 7) Restart sendmail. Make sure sendmail does not log any errors pertaining to not being able to find the spamass.sock 8) This should plobably be step 1, but the above assumes you already have spamassassin installed, tested and running. FWIW: Spamass-milter will call spamc which pipes to an already running spamd process(s). 9) Now try to submit a known spammy e-mail through your MTA. If your using the -i parameter and submitting your test from the same LAN, you will need to remove the -i parameter until your done testing. Hopefully, I have not forgotten a step. It's been awhile since I set this up. Good Luck Steve Cowles -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list