Wietse:
> As documented, smtp_header_checks etc. cannot change the destination.
> 
> Destination changes would not make sense, because the checks happen
> while mail is being delivered.

Charles Account:
> If I create a second relay-smtp queue that is configured to be a
> relay to deliver mail to my MTA, can I use smtp_header_checks in
> conjunction with cleanup to determine recipient's destination is
> not local, if so, deliver to relay-smtp queue?

As documented, smtp_header_checks are implemented by the SMTP client
while Postfix delivers mail. As documented, this cannot change the
destination. It can change the message by prepending, replacing or
ignoring a message header.

As documented, header_checks are implemented by the cleanup daemon
while Postfix receives mail. As documented, this can change the
destination.

        Wietse

Reply via email to