On Tue, 10 Feb 2004 at 13:28:14 -0500, Rob Mangiafico wrote: > On Tue, 10 Feb 2004, Tomasz Papszun wrote: > > I admit that I'm quite focused on "Postfix + Amavisd-new + ClamAV" > > solution (I don't know details of milter and so on) so maybe I'm missing > > something... But what do you mean by "I use clamd without amavis"?... > > No amavis, no milter, only alone clamd? Maybe you use clamav-milter, but > > you just didn't mention it... > > How about if we are using clamdscan via procmail for our users? I assume > the only way to use it is to use the internal mime features of clamdscan > with the --mbox option? Or is there an easy way / process to use an
With clamdscan (note "d" in it), you have to configure clamd in clamav.conf, not use command-line option --mbox. You must enable ScanMail, ScanArchive and StreamSaveToDisk. Rules for procmail can be like these shown at http://pandaemail.sourceforge.net/av-tools/ : With a quarantine procmail script: :0HB * Content-type.*multi * ? (clamdscan --quiet - ; if [ "$?" == "1" ]; then exit 0; else exit 1; fi; ) /var/spool/quarantine/$LOGNAME.`date | sed -e 's/[[:space:]]/-/g'` No quarantine procmail script: :0HB * Content-type.*multi * ? (clamdscan --quiet - ; if [ "$?" == "1" ]; then exit 0; else exit 1; fi; ) /dev/null > external program, or should we just use CVS and everything will just work? ScanMail must be enabled even for CVS versions for email scanning without help of external decoders. Another simple way is using TrashScan < http://www.clamav.net/doc/html/node28.html > which uses external MIME decoder (metamail or uudeview). -- Tomasz Papszun SysAdm @ TP S.A. Lodz, Poland | And it's only [EMAIL PROTECTED] http://www.lodz.tpsa.pl/ | ones and zeros. [EMAIL PROTECTED] http://www.ClamAV.net/ A GPL virus scanner ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users