Adjusting spam reject message
Damian
amavis at arcsin.de
Fri Feb 9 15:15:49 CET 2024
> when amavis rejects a message above spam kill level the reject message looks like that:
>
> 554 5.7.0 Reject, id=27417-12 - spam (in reply to end of DATA command)
>
> How is it possible to change the simple "spam" to something more sophisticated ;-) like "rejected for policy reasons" or "local policy violation"?
$smtp_reason_by_ccat{&CC_SPAM} = 'id=%n - rejected for policy reasons';
See [1].
[1]
https://gitlab.com/amavis/amavis/-/blob/v2.13.0/conf/amavisd.conf-default?ref_type=tags#L666
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20240209/1a88211a/attachment.htm>
More information about the amavis-users
mailing list