Mark Constable:
> 12.34.56.78:smtp inet n - - - - smtpd
>  -o myhostname=domain1.com

This change all SMTP server responses that depend on the
myhostname settings.

> Any thoughts or suggestions on how to improve this strategy?

Use separate MTA instances.

By changing the MTA name in one SMTP client and server in master.cf,
you don't change the MTA name that is used in all the other dozens
of Postfix programs, including the programs that send delivery
status notifications (bounce messages, delivery confirmation
messages).  Moreover, all the logging of all programs ends up in
the same indistinguishable pile.

I don't think that dozens of -o name=value overrides in master.cf
are easier to manage than separate config files that can log all
activities for each MTA with a distinct logging name.

        Wietse

Reply via email to