generate_bounces_for_multi_recipient_policy_rejections

March 26, 2020 Contributors

Name

generate_bounces_for_multi_recipient_policy_rejections — generate MDNs after reception for policy rejections

Synopsis

generate_bounces_for_multi_recipient_policy_rejections = true

generate_bounces_for_multi_recipient_policy_rejections = false

Description

If you have configured a module or a policy script to reject mail in the each_rcpt phase of the validation process, then it is possible that you don’t want to generate an MDN for that rejected mail, on the grounds that it was unwanted mail and likely has a bogus sender. If that is the case, setting generate_bounces_for_multi_recipient_policy_rejections to false will cause Momentum to suppress MDN generation for multi-recipient mail when some, but not all, recipients were rejected.

When all recipients reject the mail, Momentum will respond with a failure code to the sender; an MDN does not need to be generated in this case.

The default value is true for conformance with the SMTP specification.

Scope

generate_bounces_for_multi_recipient_policy_rejections is valid in the global, pathway_group, and pathway scopes.