2011/3/13 <clamav-users-requ...@lists.clamav.net>: > Message: 1 > Date: Sun, 13 Mar 2011 00:13:42 +0800 > From: Michael Wu <chmichae...@gmail.com> > Subject: [clamav-users] Problem while combining clamav-milter 0.97 and > sendmail > To: clamav-users@lists.clamav.net > Message-ID: > <AANLkTi=zjhhmhk_mx7jzuhw7axd977x703ybw6t_f...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hello, > > I'm running clamav 0.97 on Fedora 13. Everything is fine if I just do > a manual virus scan or virus database update. When I try to combine > clamav-milter and sendmail, I run into some problems. Because there is > a big difference between clamav 0.97 and the old version, it is hard > to google some helpful information about clamav 0.97. > > 1. I have added the following 2 macros in sendmail.mc and compiled to > generate sendmail.cf, but I still get "...... Message from <xxx> to > <UNKNOWN> infected by Worm ......" in the clamav-milter.log. How can I > do to change <UNKNOWN> into the recipient address? > > define(`confMILTER_MACROS_ENVFROM', `i, {auth_type}, {auth_authen}, > {auth_ssf}, {auth_author}, {mail_mailer}, {mail_host}, {mail_addr}, > {rcpt_addr}') > > define(`confMILTER_MACROS_EOM', `{msg_id},?{mail_addr}, {rcpt_addr}, i') > > 2. Can we change the location of the quarantine folder and where if > possible? The present location is "/var/spool/mqueue". > > 3. Can we enable virus alert mail and where if possible? > > Thank you for your assistance. > > Michael > Thanks Richard ( lists-clamav ) to give me some hints that I can clean the quarantined mails with the command "qtool.pl -d -Q /var/spool/mqueue". On Fedora 13, the sendmail-doc rpm must be installed to get "qtool.pl". Because I am not an expert in coding, where can I get a sample script file for VirusAction that I can modify it to meet my needs ? Thank you for your assistance.
Michael _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml