From: (no name) (no email)
Date: Fri Feb 20 2004 - 09:43:59 EST
> > we have a setup where our mail server sends all mail to an smtp relay
> using
> > default_transport=smtp:[relay.domain.com]
> > we now want to setup a second relay that jumps in if the first is
> > unavailable.
> > this relay is connected via uup. the uucp transport works fine.
> > so, we should first try the smtp relay then the uucp relay but never
> send
> > directly.
> > i tried relayhost and fallback_relay but both only work for smtp
> > connections.
> > and i am not sure which will be processed first, relayhost or
> > default_transport.
> > how do i set this up?
>
> According to main.cf:
>
> # The fallback relays must be SMTP destinations. Specify a domain,
> # host, host:port, [host]:port, [address] or [address]:port; the form
> # [host] turns off MX lookups. If you specify multiple SMTP
> # destinations, Postfix will try them in the specified order.
>
yes, i know that. and that's my problem.
as i understood, fallback_relay comes in when none of default_transport
and relayhost have been successful in delivering the mail (means server
did not send an appropriate line on connect).
what we actually have is a setup that sends all mail to a smtp relay. none
of
our mail is delivered directly. we would like to set up another relay that
should be used in case the first relay does not answer. and that second
relay
uses uucp. and i cannot give a transport for the fallback_relay.
i found a posting saying that fallback_relay should point to a name
that is in transport_map. but that does not work. transport_map is
not evaluated for fallback_relay and relayhost.
fallback_relay = uucpfallback
and a transport map entry for that UUCP host:
uucpfallback uucp:the.uucp.host
do you have any idea how we can set up something like this:
1) try our smtp relay.
2) on error from our smtp relay try the uucp relay.
3) on error from both, defer.
(3) is not real because this outgoing mail stays in the uucp queue.
thanks a lot,
-lutz
-- GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...) jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++
|
|
|