Changing content of smtp_resp(onse) ?

Patrick Proniewski <[email protected]> Wed, 22 Oct 2025 12:41:11 +0200
Newsgroups gmane.mail.virus.amavis.user
Message-ID <[email protected]>
Hello,

I would like internal users who send messages that are blocked as Spam =
to receive a bit more informations that today.=20
For example, a user sends a message through our Exchange infrastructure, =
that mail gets refused by our amavis+postfix gateway: Exchange sends a =
non-delivery notice to the user with the status Postfix got from Amavis.=20=


Sample:=20
	Remote Server returned '554 5.7.0 Reject, id=3D32358-04 - =
spam=E2=80=99=20

I would like to enrich that log with details like the content of T macro =
for example (=C2=ABT list of triggered SA tests (only in $log_templ and =
$log_recip_templ)=C2=BB as per =
https://gitlab.com/amavis/amavis/-/blob/master/README_FILES/README.customi=
ze?ref_type=3Dheads )

Is that possible? If so how can I do that?

Thanks,

Patrick PRONIEWSKI