Viktor Dukhovni via Postfix-users:
> > but I can guess it would be quite complex change, so well... if there
> > would ability to reply with 5xx error for detected expansion loop, I
> > think moving alias map to the incoming MX MTA would be enough +
> > setting transport map for a next hop of all emails.
> 
> I don't think this is a sound feature to add, it would be misunderstood
> by naive users.

This reminds me of a similar concern that we had in mail delivering
contexts. In the mail receiving context, the solution would be to
implement smtpd_delivery_status_filter, similar in purpose to
smtp_delivery_status_filter (the initial problem there was how to
make Postfix more aggressive about TLS handshake failures).

This should be feasible because all SMTP server responses are
formatted in one place. When the filter is implemented as a regexp
map, this also provides a maximal amount of rope to shoot yourself
in the foot with.

There are some details to decide, like how this would interact with
smtpd_reject_footer (and smtpd_reject_footer_maps); and there have
to be guard rails (one cannot change reject into accept, or vice
versa).

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to