Changing content of smtp_resp(onse) ?

Patrick Proniewski patrick.proniewski at univ-lyon2.fr
Wed Oct 22 12:41:11 CEST 2025


Hello,

I would like internal users who send messages that are blocked as Spam to receive a bit more informations that today. 
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. 

Sample: 
	Remote Server returned '554 5.7.0 Reject, id=32358-04 - spam’ 

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

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

Thanks,

Patrick PRONIEWSKI


More information about the amavis-users mailing list