Loading ...
Sorry, an error occurred while loading the content.

Re: backup mail server

Expand Messages
  • Justin Krejci
    ... The hash file is expected to have 2 column entries, so you need to have some sort of data in the 2nd column, just so it can be ignored. postmap: warning:
    Message 1 of 7 , Mar 1, 2006
    • 0 Attachment

      On Tuesday 28 February 2006 05:14 pm, Tom Lee wrote:

      > Hi Matt,

      >

      > > > For smtp.foo.com:

      > > >

      > > > /etc/postfix/main.cf:

      > > > relay_domains = backup.foo.com

      > > > smtpd_recipient_restrictions =

      > > > permit_mynetworks reject_unauth_destination

      > > >

      > > > relay_recipient_maps =

      > > > transport_maps = hash:/etc/postfix/transport

      > > >

      > > > /etc/postfix/transport:

      > > > backup.foo.com relay:[foo.com]

      > >

      > > If this is the primary mailserver and final destination, why

      > >list the domain in relay_domains?

      >

      > http://www.postfix.org/STANDARD_CONFIGURATION_README.html#backup

      > mentions that these settings should be kept.

      >

      > To have both primary mail server and backup mail server running, here is

      > the summary what we can do based on your suggestion.

      >

      > DNS:

      > foo.com. IN MX 10 mail.foo.com.

      > foo.com. IN MX 100 backup.foo.com.

      >

      > the settings for backup.foo.com

      > /etc/postfix/main.cf:

      > relay_domains = foo.com

      > smtpd_recipient_restrictions =

      > permit_mynetworks reject_unauth_destination

      > relay_recipient_maps = hash:/etc/postfix/relay_recipients

      >

      > /etc/postfix/relay_recipients:

      > user1@... x

      >

      >

      > (note: relay_domains is foo.com not backup.foo.com, I am not what "x" means

      > here? )

      >

      The hash file is expected to have 2 column entries, so you need to have some sort of data in the 2nd column, just so it can be ignored.

      postmap: warning: test, line 1: expected format: key whitespace value

    Your message has been successfully submitted and would be delivered to recipients shortly.