Thank you for reply, but my version of postfix is 2.2.
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 >