[Clamav-users] how to change clamav's warning message?
Hi, I'm using clamav together with amavisd-new. emails get virus checked and then delivered to the user. if an email contains a virus then there's following message displayed: WARNING: contains virus Worm.Sober.I how can I change this message? I didn't find any config options for customizing the message. andreas ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
RE: [Clamav-users] how to change clamav's warning message?
Use clamav-milter and create a template message. -Nigel ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
RE: [Clamav-users] how to change clamav's warning message?
On Mon, 2004-12-27 at 10:13 +, Nigel Horne wrote: Use clamav-milter and create a template message. but isn't clamav-milter supposed to be run with sendmail? I'm using postfix with amavisd-new andreas ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] how to change clamav's warning message?
On Mon, 27 Dec 2004 at 11:26:51 +0100, Andreas Kotowicz wrote: On Mon, 2004-12-27 at 10:13 +, Nigel Horne wrote: Use clamav-milter and create a template message. but isn't clamav-milter supposed to be run with sendmail? I'm using postfix with amavisd-new andreas The warning you mentioned most likely comes from amavisd-new, so just edit /usr/sbin/amavisd-new (or wherever it's placed in your system) - it's a perl script, so it's easy to modify text fragments. Before that, make sure that it isn't configurable in /etc/amavis/amavisd.conf - just in case, as modifying a program instead of its configuration file is a last resort. -- Tomasz Papszun SysAdm @ TP S.A. Lodz, Poland | And it's only [EMAIL PROTECTED] http://www.lodz.tpsa.pl/iso/ | ones and zeros. [EMAIL PROTECTED] http://www.ClamAV.net/ A GPL virus scanner ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] how to change clamav's warning message?
On Mon, Dec 27, 2004 at 11:00:24AM +0100, Andreas Kotowicz wrote: Hi, I'm using clamav together with amavisd-new. emails get virus checked and then delivered to the user. if an email contains a virus then there's following message displayed: WARNING: contains virus Worm.Sober.I how can I change this message? I didn't find any config options for customizing the message. Using Debian, you can find templates in /etc/amavis + the value of the variable read_l10n_templates you set in amavisd.conf. I don't know other custmizations by other distros. Bye, gc :-) ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users