These directions are pretty-much as I have done. I just used the rpm's and the script fell into place. I see that my problem appears to be that sendmail is not compiled with Milter support. Which sucks. I should be able to compile an rpm to do this, right? I'm on RH7.3, which evidently doesn't compile sendmail with milter support by default. I suppose I could always bring my sever up to RH9 but I wanted to be sure my spamassassin was working before doing a rebuild. In other words, I'd like to have a playbook that I can build a new system with and have everything like I want. Thanks so much for your instructions, though. I can at least start picking this apart.
<<JAV>> ---------- Original Message ----------- From: "Cowles, Steve" <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Sent: Tue, 9 Sep 2003 06:36:31 -0500 Subject: RE: rh-l] Sendmail+Libmilter > 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 ------- End of Original Message ------- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list