Hello, I switch transport_maps of from main.cf. Next I insert fallback_relay = [192.168.1.1], [192.168.1.2] but I can see in logs, that postfix still find MX and don't use specified hosts.
Vladislav On Wed, Feb 10, 2010 at 9:20 PM, Wietse Venema <wie...@porcupine.org> wrote: > Vladislav Antolik: >> Thank you for reply, but my version of postfix is 2.2. > > man 5 postconf > > smtp_fallback_relay (default: $fallback_relay) > Optional list of relay hosts for SMTP destinations that can't be found > or that are unreachable. With Postfix 2.2 and earlier this parameter is > called fallback_relay. > >> On Wed, Feb 10, 2010 at 9:03 PM, Wietse Venema <wie...@porcupine.org> wrote: >> > Vladislav Antolik: >> >> Hi, >> >> >> >> I'd like to configure this kind of funcionality. >> >> I have 1 postfix box, which should relay mails to 1 of 2 internal mail >> >> servers(192.168.1.1, 192.168.1.2). >> >> When 1 internal mail server crashes, new incoming mails should be >> >> automatically send to another internal mail server. >> >> I don't want to use MX lookup. >> > >> > Use smtp_fallback_relay. >> > >> >> I tried this configuration: >> >> in transport file >> >> >> >> example.com ? ?:[192.168.1.1] >> >> .example.com ? :[192.168.1.2] >> >> >> >> but without success. >> > >> > This always produces [192.168.1.1] for example.com, and always >> > produces [192.168.1.2] for stuff.example.com. >> > >> > ? ? ? ?Wietse >> > >> >> > >