Hi, [cc'd back to the list...]
On Mon, 5 Jan 2004, john walsh wrote: > > > > Can Anybody tell me how to configure spamassassin on redhat > > > > 8.0/ sendmail > > I also want to know how to do this - but using the .rpm for SA. I'm not a big fan of RPMs, mainly because I want more flexibility in configuring my system and because there's often a susbstantial lag between the vendor's RPMs and the current software releases (I run SuSE systems and most RPMs assume you use Red Hat system, and it's never clear if the software is going to work or not.) Also, I prefer to let perl handle it's own configuration management with CPAN. Still, if you want to use RPMs, it's easy enough to use the RPMs at http://www.spamassassin.org/released/RPMs/ It's also fairly easy to build your own RPMs from the source package: - Download http://www.spamassassin.org/released/Mail-SpamAssassin-2.61.tar.gz - Copy Mail-SpamAssassin-2.61.tar.gz to the /usr/src/redhat/SOURCES directory - cd to /usr/src/redhat and (as root) run rpmbuild -ta ./SOURCES/Mail-SpamAssassin-2.61.tar.gz - Install the SpamAssassin RPMs built under /usr/src/redhat/RPMS/i386 (perl-Mail-SpamAssassin, spamassassin, spamassassin-tools) > I have downloaded it, installed it, and read loads of DOC's - but nowhere > can I see any reference as to how I link in SA to sendmail. > > So I have spamd/c (I want to use it system wide) - but no idea of what to do > with them (ie. how to call them from sendmail). Look into spamass-milter (http://savannah.nongnu.org/projects/spamass-milt/), smtp-vilter (http://www.etc.msys.ch/software/smtp-vilter/), and MIMEDefang (http://www.mimedefang.org/) - all can be used to incorporate SA into Sendmail. If you're delivering mail with procmail, another quick and dirty way to do this is to feed messages through spamassassin (or spamc) in /etc/procmailrc. This file contains procmail recipes run for every user, and IIRC, they are run before recipes located in individual ~/.procmailrc files. The upside of this method is that it's independent of mail server (filtering happens at delivery time) and it's easy to implement; the downside is that you can't reject mail based on SA score. I'm still not sure that rejecting mail based on SA score is a good idea, but if that's what you want to do, you have to do it with your MTA (or an SMTP proxy) and not with procmail. > >5) Read the available FAQs and HOWTOs, > > Done that. Hrm. I just checked the Wiki where the FAQs are supposed to be answered. I see what you mean; the response there is completely unsatisfying. At least underwhelming. "We" need to fix that[1]. There's some useful info squirreled away at http://wiki.spamassassin.org/w/IntegratedInMta but I don't think its precisely what you're looking for. :/ > >Note that most of your question is answered in the above resources. > >People write documentation so they don't have to repeatedly answer the > >same questions on a support mailing list. We want to help; that's why > >there's copious documentation... > > I can find loads of DOC's telling you how to build the source and install > from there - but I want to use the .rpm, and there is nothing for that. See above for finding or building SA RPMs. If you're committed to staying with RPMs, you should learn how to build them because you'll occasionally need code that your OS vendor hasn't packaged. Besides, upgrading systems that are half RPM, half compiled source is a big pain. > If you know of somewhere, please tell me, or if you know how to do it, > please tell me that. Hopefully the above has given you a better place to start looking for SA/Sendmail integration. Thanks for pointing out the weak parts of the SA site documentation; it should get fixed eventually. hth, -- Bob [1] "We" probably means me. Note to self: massage this email into a FAQ and add it to the wiki... :) ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk