[NTLUG:Discuss] Secondary Mail Server
thomas.cameron@camerontech.com
thomas.cameron at camerontech.com
Fri Aug 22 16:09:59 CDT 2003
I am assuming sendmail here.
What you do on the secondary is tell it it is allowed to relay for the
domain via /etc/access:
acmewidgetcorporation.com RELAY
Do *not* add the domain name (acmewidgetcorporation.com in my example) to
local-host-names on the secondary MX server.
What this does is tells the secondary to realy to the primary. It will
keep trying for 5 days, so you have 5 days to get the primary back up.
You should *not* have user accounts on the relay server - they are not
needed. You need not configure anything nearly as complicated as
virtusertable.
That's it - you have a relay server.
Thomas Cameron, RHCE, CNE, MCSE, MCT
Cameron Technical Services, Inc.
http://www.camerontech.com
> I recently got a second box to use as a secondary mail server for one of
> my domains, and have a question as to the setup. Recently, my primary
> server went down, and the secondary box did it's job and caught all the
> mail, but it didn't forward to the primary box when it came back up.
>
> 1) What needs to be configured to make this happen automagically in
> sendmail? I have a feeling I borked an entry in my local-host-names
> file, but I'm not sure.
>
> 2) I have created the virtualuser table with local users on the
> secondary box mapped to the users on the first box in this fashion:
>
> localuser1 localuser1 at primary.mailserver.com
>
> Is the above the way that should be handled?
>
> TIA-
> Ry
>
>
>
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list