I just finished setting up SA for my company and let me tell you it's a god send! I don't use PostFix as I have always used Sendmail and though there is little documentation for this setup, as long as Sendmail is using procmail for local delivery it works fine. Ok, three steps: 1. setup Sendmail to use procmail for local mail 2. make a good procmailrc that will properly call SA 3. setup your local.cf in /etc/mail/spamassassin Step 1 Using the sendmail.mc, edit the file and add MAILER(procmail)dnl at the end (right above any Cw entry though). You can leave in the MAILER(local)dnl I think but to be safe (and cause procmail is doing the job anyway) I removed it from mine. Backup your current sendmail.cf and then do 'm4 sendmail.mc > sendmail.cf'. Do any custom edits that you did in the old sendmail.cf (if any). Step 2 Create a procmailrc file in /etc (default location it looks for one) if one isn't there. Add the following: ####################### DROPPRIVS=yes #Uncomment the following lines to allow for logging # #LOGFILE=/var/log/procmail #VERBOSE=ON # SpamAssassin # # Pipe the mail through spamassassin (replace 'spamassassin' with 'spamc' # if you use the spamc/spamd combination) # # The condition line ensures that only messages smaller than 250 kB # (250 * 1024 = 256000 bytes) are processed by SpamAssassin. Most spam # isn't bigger than a few k and working with big messages can bring # SpamAssassin to its knees. # # The lock file ensures that only 1 spamassassin invocation happens # at 1 time, to keep the load down. # :0fw: spamassassin.lock * < 256000 | spamc ####################### There are other things you can have in the procmailrc that will help but that is the basic entry that should get procmail to filter through spamassassin. Save the file and continue... Step 3 You need to define the basic settings in /etc/mail/spamassassin/local.cf and to do this go here: http://www.yrex.com/spam/spamconfig.php. That will make you a basic set of rules that you can cut and paste into the file above. After the above do: service spamassassin start ###or restart service sendmail restart You should then be good to go (but as always YMMV). For step three I'd recommend setting it to med level (7.5) till you see how it's working. I have it set to 5.5 here and get a 97.5% tag rate on spam. Not to shabby. :D More documentation on SpamAssassin can be found at: http://au2.spamassassin.org/index.html Good luck! :) Paul Pettit CTO, CCB Inc. > -----Original Message----- > From: redhat-list-admin@xxxxxxxxxx [mailto:redhat-list-admin@xxxxxxxxxx] > On Behalf Of Craig Daters > Sent: Thursday, October 09, 2003 3:51 PM > To: redhat-list@xxxxxxxxxx > Subject: RPM Installed SpamAssassin > > I use RPM's to install everything with RedHat, I have upgraded to RH9 from > RH73. With my 7.3, I have been using RBL info with Sendmail to combat > Spam, > and this has been working well for the most part. Spam still gets through > however, and with RH9, I have installed the RPM's for SquirrelMail and > SpamAssassin both, thinking that these would be great for our sales people > to use while on the road and whatnot. > > I have to admit however, that I was at a loss to find anything anywhere > that > give's me guidance on how to proceed. I can't find squat! The > documentation > that comes with these packages seem to be the same documentation that can > be > had from downloading these distro's directly from the dev website. > > It took me a while to find the one answer that made sense regarding > SquirrelMail, I could not figure out how to access it from the web. Then I > found Gordon Messmer's answer, "If you installed Red Hat's version, > '/webmail' becomes an alias for the squirrelmail installation. Point your > browser at: http://server/webmail". This was great, after reading this, I > deleted the copy I had put into the /var/www/html for apache (I had just > copied the RH installed version there and was using that.) I just used the > alias instead and it worked. > > How does SpamAssassin work? What does one have to do to use RH's installed > copy? Most of the SpamAssassin stuff I find on the list is in something > other than english, and I am wondering if anyone has info that could save > me > an hour of sifting through archives? I am looking to an equally simple > answer compared to the SquirrelMail problem/solution. > > Regards, > > Craig D. > > -- > > Craig Daters (craig@xxxxxxxxxxxxx) > Systems Administrator / Graphic Designer > West Press Printing & Copying > 1663 West Grant Road > Tucson, Arizona 85745-1433 > USA > > Tel: 520-624-4939 > Fax: 520-624-2715 > > www.westpress.com > > -- > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list