<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <span style="white-space: pre-wrap">
</span>
    <blockquote type="cite"
cite="mid:trinity-8921c2b1-2712-4bf1-a357-615a42545b70-1707485674066@3c-app-gmx-bap17">
      <pre class="moz-quote-pre" wrap="">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"?</pre>
    </blockquote>
    <p>$smtp_reason_by_ccat{&CC_SPAM} = 'id=%n - rejected for policy
      reasons';</p>
    <p>See [1].</p>
    <p>[1]
<a class="moz-txt-link-freetext" href="https://gitlab.com/amavis/amavis/-/blob/v2.13.0/conf/amavisd.conf-default?ref_type=tags#L666">https://gitlab.com/amavis/amavis/-/blob/v2.13.0/conf/amavisd.conf-default?ref_type=tags#L666</a><br>
    </p>
  </body>
</html>