On Wed, Nov 16, 2022 at 08:39:48AM +0000, [email protected] wrote:
> Sorry for inception.
> How can I configure postfix to cause an instant message returned,
> rather than 4xx code to make peer MTA retry many times?
>
> Thanks
I think it's OpenDMARC that needs to be configured to cause this
to happen.
In /etc/opendmarc.conf, you can change the default:
RejectFailures false
to:
RejectFailures true
But if you don't, I don't think there's any 4xx code,
it just adds the Authentication-Results header.
That config file says that temporary failures happen
when the evaluation could not be performed, not when
the evaluation fails.
/etc/opendmarc.conf:
## RejectFailures { true | false }
## default "false"
##
## If set, messages will be rejected if they fail the DMARC evaluation, or
## temp-failed if evaluation could not be completed. By default, no message
## will be rejected or temp-failed regardless of the outcome of the DMARC
## evaluation of the message. Instead, an Authentication-Results header
## field will be added.
cheers,
raf