From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Daniel Clar Newsgroups: gmane.os.tru64.managers Subject: SUMMARY (partial) : Spamassassin Date: Fri, 28 Mar 2003 19:19:22 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <024c01c2f556$8e815b70$e078e4a0@supelec.fr> References: <078501c2ef0a$72baee80$4e78e4a0@supelec.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1048875603 30878 80.91.224.249 (28 Mar 2003 18:20:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 28 Mar 2003 18:20:03 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Mar 28 19:19:54 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18yySH-00080T-00 for ; Fri, 28 Mar 2003 19:19:53 +0100 Original-Received: (qmail 6492 invoked by uid 5); 28 Mar 2003 18:19:52 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 6483 invoked by uid 49493); 28 Mar 2003 18:19:51 -0000 Original-Received: from Daniel.Clar@supelec.fr by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-0.8/5.0):. Processed in 0.699022 secs); 28 Mar 2003 18:19:51 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 28 Mar 2003 18:19:50 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HCH00D351KYCB@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 28 Mar 2003 13:19:49 -0500 (EST) Original-Received: from supelec.supelec.fr (supelec.supelec.fr [160.228.120.192]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HCH003F11KR2R@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 28 Mar 2003 13:19:41 -0500 (EST) Original-Received: from cridchp (localhost [127.0.0.1]) by supelec.supelec.fr (8.11.1/jtpda-5.3.1) with ESMTP id h2SIJde494475 ; Fri, 28 Mar 2003 19:19:39 +0100 (MET) In-reply-to: <078501c2ef0a$72baee80$4e78e4a0@supelec.fr> Original-To: 'Daniel Clar' , tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:3828 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3828 The original posting was : > > Hello Managers, > > Is someone currently using spamassassin on Tru64 Unix ? > > How is it interfaced with sendmail on the system ? > > Thank you and regards, > > Daniel > > Daniel Clar > Computer Operations Manager > Supelec > France > --------------------------- Thank you to : Bryan Dunlap [bcd@pacific.mps.ohio-state.edu] I'm running spamassassin on 4.0E, but it's not hooked into sendmail. Users run it voluntarily via procmail. In my opinion, it works well. David Warren [warren@atmos.washington.edu] We are now using it on linux, but we did have it running on suns and decs. We have writen our own milter. Didier Godefroy [ldg@ulysium.net] I'm about to install this myself, I was just reading about it a while ago, it's a perl script that's called from within a .procmailrc file mostly, and there's a daemonized version that can be used also from .procmailrc through a pipe, but it seems not to matter if the mta is sendmail or something else, it seems to do all its work at the local delivery and not at the mta level. But perhaps I may be wrong.. Tom Webster [webster@ssdpdc.lgb.cal.boeing.com] Not currently, but based on the volume of SPAM I've been getting, I've been thinking about it. James Sainsbury [J.Sainsbury@chem.usyd.edu.au] I use spamassassin but probably not in the way you would want to. (I have a lot of site policy in a modified smap/smapd (TIS fwtk) that existed before spam filtering.) ie incomming mail--> smtp process (smap) \ spool --> scanning process / \ jail (spam) output spool --> smapd --> sendmail The scanning process contains spammassassin but determines the spam value based on the exit code eg $PREPROCESS smapfile | $SPAMASS -S -L -P -e > /dev/null if [ $? -ge 5 ] ; then is SPAM fi --------- Generally spamassassin is invoke by a delivery agent such as procmail. Eg with sendmail/procmail under openbsd http://davespicks.com/writing/programming/spamassassinopenbsd.html Rustam T. Usmanov [rustam@ruslan.ru] We're successfully using spamassassin on DigitalUNIX 4.0D as part of mailscanner configuration . It is interfaced with sendmail via the second message queue - Nikola Milutinovic [Nikola.Milutinovic@ev.co.yu] Will be when I emerge under this Berkeley DB 4.1.25 pile, that's screwing up my Sendmail run... > How is it interfaced with sendmail on the system ? As of Sendmail 8.12.x the prefered way of interfacing ANY filtering approve/disapprove software (anti-virus, SPAM,...) is via Milter, which has to be enabled during build time. Anything else is making a cludge of the config. I'm currently using AMaViS+Sophos as AV scanner. Horst Dieter Lenk [lenk@mpi-muelheim.mpg.de] we use spamassassin on Tru64 together with an Amavis script (+ Sophos) for virus scan. The sendmail has a mailer which starts a command procedure to scan and deliver the mails. /etc/mail/aliases: user@savspam /etc/mail/sendmail.cf: # SAV +SPAM mailer is a pseudo-domain CPSAVSPAM R$+ < @ SAVSPAM. > $#savspam $: $1 user@SAVSPAM Msavspam,P=/usr/sbin/scanmails+spam, F=lsDFMqPenu, S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix, A=savspam $u /usr/sbin/scanmails+spam: cat ${tmpdir}/receivedmail | ${formail} -f -A \ "${SA_Header_String}" | ${spamc} -u $1 | ${deliver} -d $1 For spamassassin I use the the spamc program with the spamd daemon, because its much faster than statring the perl scipt each time. If you need more details, I can send you all the configuration files. stephane BRANCHOUX [stephane.branchoux@univ-perp.fr] In French..... Marc Thoelen [marc.thoelen@luc.ac.be] and Andres Henckens [andres.henckens@luc.ac.be] How to incorperate procmail into your sendmail.cf is explained in the procmail manual (it differs from sendmail to sendmail). That should be the first thing to do and to check if all is OK. You can download and compile spamassassin from www.spamasssissin.org On most unix systems it won't compile, you need to change the LIBS= line after doing a configure to LIBS= -ldb -lm .procmailrc is used on an account basis and is great for testing, for a systemwide procmailrc you can create one as /etc/procmailrc and it is systemwide. What to put into it is also explained in the spamassassin manual. You are right, with local users it works, when e-mail gets forwarded to another account it doesn't. If you use a .procmailrc in the users homedir it works. The structure is the same as in /etc/procmailrc but you have to add a line to forward the e-mail to the other e-mail box after the spamscan. I have something like this added. :0 ! user@otherserver.domain that's it. A .procmailrc replaces a .forward in the homedir. If you use .forwards, .procmailrc will not be used, so you have remove the .forward. Xavier Mertens [xavier@rootshell.be] SpamAssassin as default setup does not interact with sendmail but with procmail! Anyway there exists not a Milter filter to use spamd directly fro sendmail. Tom Smith [smith@cag.lkg.dec.com] Who helped me a lot to put in place a working configuration with the sendmail.cf modifications. --------------------------------------------------- So it works if the users are local users. The only problem is that in my configuration the Tru64 box is just the incoming smtp server who delivers mail, through the aliase mechanism the the smtp mailer, to users mailboxes on an OpenVMS system. So even with procmail replacing /bin/mail, it's not used in this configuration. I've not yet explored the mailscanner and the milter configuration and don't know if they resolve this issue. If yes, there will be a final summary ! Regards Daniel