Unable to allow specific messages for blocked file types (Microsoft Office)
Using amavisd-new, currently the message below is shown for all rejected message due to a banned attachment.
b1241.mx.srv.dfn.de #5.7.0 smtp; 554 5.7.0 Reject, id=124-1-11 - BANNED: multipart/signed | multipart/mixed | application/vnd.ms-excel,.doc,XXX.xls>
The message is configured with
$smtp_reason_by_ccat{+CC_BANNED} = 'id=%n - BANNED: %F - …';
We would like to have a specific message for attachments in legacy Microsoft Office format, telling users what to do. Currently, that does not seem possible.
Could such a feature be implemented?