How to always log attachment name?
Andrew Clayton
andrew.clayton at teknas.com
Wed Apr 22 18:26:01 CEST 2015
Hi,
Using amavisd-new 2.8.0 on CentOS 6.x
I'd like to always log the attachment name (if there is one) whether
it's blocked or not.
I created a really simple custom template in amavisd.conf for testing
$log_templ = <<'EOD';
Attachment (%F)
EOD
For a banned attachment I get the following logged
(05889-01) Attachment (application/octet-stream,.asc,test.exe.scr)
However for a clean one I just get
(05890-01) Attachment ()
I've been trawling through the amavisd Perl script but am having
trouble locating where the decision to provide the attachment details or
not is made.
Any pointers would be appreciated.
Cheers,
Andrew
More information about the amavis-users
mailing list