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