I need to log the filename that contains a virus. Playing with $log_templ and $log_recip_templ I found out I can use %F get almost (see: "filename: /.asc,eicar.com/" in example) what I want.
Nov 17 11:25:07 amavisdev amavis[25532]: (25532-01) deflt, Blocked INFECTED (310, Eicar-Test-Signature), filename: /.asc,eicar.com/, LOCAL [172.16.1.31] [172.16.1.31] <sen...@example.com> -> <recipi...@example.com>, quarantine: eWPPLsh4e-dk, Message-ID: <20101117102506.gl25...@rayamavis>, mail_id: eWPPLsh4e-dk, Hits: -, size: 1166, 283 ms The %F macro however consists of two informations - MIME type and filename. It there a way to retrieve the filename only? If not could it be added? p...@rick -- state of mind Digitale Kommunikation http://www.state-of-mind.de Franziskanerstraße 15 Telefon +49 89 3090 4664 81669 München Telefax +49 89 3090 4666 Amtsgericht München Partnerschaftsregister PR 563 ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user Please visit http://www.ijs.si/software/amavisd/ regularly For administrativa requests please send email to rainer at openantivirus dot org