|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Multiple relays? (fwd)
From: Wietse Venema (wietse
porcupine.org)
Date: Tue Jul 01 2003 - 15:55:29 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Simon Matthews:
> On Tue, 1 Jul 2003, Wietse Venema wrote:
>
> > If it is not written in the documentation then it cannot be done.
> >
> > You can't assign multiple (relayhost) destinations to an address,
> > for the same reason that you can't assign multiple delivery agents
> > to an address.
> >
> > You can, however, specify a relayhost that has multiple A records;
> > and the SMTP client has a fallback_relay parameter that allows you
> > to specify backup relayhosts.
> >
> > Postfix is smart enough not to bounce mail when a relayhost is not
> > found.
>
> Wietse,
>
> Thank you for your explanation.
>
> Could you explain the meaning of the following in the "man smtp" file:
> " When the domain or host is specified as a comma/whitespace separated
> list, the SMTP client repeats the above process for all destinations until
> it finds a server that responds. "
>
> How would one provide a "comma/whitespace separated list" as the
> destination?
This text dates from an older version. It is no longer applicable
and I have just deleted it.
> I have also noticed that the transport map does not always override the
> default message delivery method. I had a working Postfix 1.x
> configuration, in which I had specified the doamins for which I wanted to
> accept mail in the "mydestination" parameter and then specified that all
> email for these domains should be relayed to another machine via the
> transport map. This may not be the correct way to do this, but according
> to the documentation on the "Mail transport switch" it should
> work, and it did with Postfix 1.x.
>
> When I upgraded to 2.x, I observed that this worked ONLY for users that
> either had a local login or had a matching entry in the virtual_users
> table. Removing the domains from "mydestination" and adding them to
> "relay_domains" fixed the problem.
What was the exact error message?
Wietse
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]