Custom smtp response

Nick I via amavis-users amavis-users at amavis.org
Tue Feb 18 19:12:12 CET 2014


Hello,

We block zip files at %banned_rules.
Here is the response example:

5.7.0 Reject, id=23213-04 - BANNED: .image,.png,SEGA_logo.png

I want to show in response that ZIP file was blocked, not it's content
(SEGA_logo.png)
Similar to:
5.7.0 Reject, id=23213-04 - BANNED: test.zip. THIS FILE HAS BEEN BLOCKED BY
RECEIPIENT'S POLICY.

Which variable store real attachment name 'test.zip' ?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20140218/a444d4cb/attachment.html>


More information about the amavis-users mailing list