|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: backup mail server
From: Justin Krejci (jus
krytosvirus.com)
Date: Wed Mar 01 2006 - 04:54:20 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
foo.com 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
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]