Don:
> So my question out of all of this is: How do we get
> smtp_fallback_relay to only function for incoming messages to our domain
> example.com but
> not use the directive if messages are coming from exchange destined towoards

Use different master.cf transports. For example, for inbound

/etc/postfix/transport:
        example.com: relay:[gateway.example.com]

/etc/postfix/master.cf:
        relay unix ... smtp -o smtp_fallback_relay=[fallback.example.com]

And don't use smtp_fallback_relay in main.cf.

In the above example, [] is needed to suppress MX lookups.

        Wietse

Reply via email to