Steve Frazier wrote: > I installed RH 9.0. It has Spamassassin installed along with > sendmail. There has been talk about procmail, does that mean > Spamassassin doesn't work with sendmail?
sendmail on its own does not really know how to talk to SpamAssassin. If you were inclined to experiment, you could *probably* get SA running as an inline filter program of sorts but the integration would be sloppy at best. If you're willing to monkey with source code a little; you might integrate SA with sendmail via one of the many sendmail "milter" packages. Personally, I like MIMEDefang (http://www.mimedefang.org) as it includes hooks for a long list of antivirus tools as well as the capability to do anything to the message you want that you can code in Perl. procmail is used by default as the "delivery agent" for sendmail with RedHat; it is *designed* to be able to call programs such as SpamAssassin and take various actions depending on "original" message headers, added headers, or return codes from programs. If you're running a small personal box, calling SpamAssassin directly should be just fine; for a production server of any kind calling spamc (which talks to spamd, which essentially runs a fresh copy of SA for each spamc connection) is better because it significantly reduces system load. > How do I add users to whitelist? For a particular user on that system, the easiest way is to add an entry: whitelist_from (email address) in ~/.spamassassin/user_prefs. The same entry could be put in the global config files (in /etc/mail/spamassassin by default) for it to apply to all users. > How do I add users to black list - or is this automatic? Same as whitelisting, except you use blacklist_from instead. > Does Spamassassin just "mark" the email as SPAM or does it delete it > with the out of the box install on RedHat 9? SA does not have any way to delete messages itself; you must set up the program that calls SA to do the deletion. Note that auto-deleting is VERY DANGEROUS and can lose critical email through false positives. Read back a few messages between today and yesterday; several people have posted notes about some *VERY* critical messages they would have lost had they set up their mail system to autodelete messages tagged by SpamAssassin! > Is it automatically turned on? I would guess that the spamd scanning daemon is active by default with RH9; however I don't think the default procmail setup includes a call to SA to actually scan incoming email. The FAQ and other easily-available documentation should include some clear instructions on how to add a call to SA to a procmail recipe file. > If I want to "filter" email through my RedHat box before it's > delivered to another box like Exchange will Spamassassin do that or > does Spamassassin even look at mail that comes in and then is > forwarded out? For this, you probably need a milter program. sendmail (as provided by RH) supposedly includes a method to call procmail on a message during processing, and hand it back to sendmail; you *might* be able to get this to do something useful but it would probably be ugly and sloppy. The milter interface allows access to nearly all stages of email processing in sendmail, and (depending on the milter) allows you to do a wide variety of things to the message during that processing. -kgd -- <erno> hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk