[lug] sendmail box as secondary mailserver for domain

George Sexton gsexton at mhsoftware.com
Mon Dec 13 20:38:58 MST 1999


Don't edit the sendmail.cf file.

Edit /etc/sendmail.cw and add the domain name. If you are using Sendmail
8.9.3 you will need to look to find where Suse puts the access file and add
the appropriate entries to it as well.

George Sexton
MH Software, Inc.
Voice: 303 438 9585
Fax: 303 469 9679
URL: http://www.mhsoftware.com

-----Original Message-----
From: lug-admin at lug.boulder.co.us [mailto:lug-admin at lug.boulder.co.us]On
Behalf Of Andrew Diederich
Sent: Monday, December 13, 1999 3:43 PM
To: 'blug'
Subject: [lug] sendmail box as secondary mailserver for domain


I'd like to setup a box running sendmail that's outside our firewall as a
secondary mailserver.  We currently don't have one which makes me . . .
nervous.  (I didn't design this network, I just inherited it.)  Whining
aside, I just can't figure out the dang /etc/sendmail.cf file.  (Oh, I'm
running SuSE 6.1.)  As close as I can figure it, I just need to add another
mx record to our dns at a higher preference level, and then in sendmail.cf
maybe add our domain in the list with the Cw.  Hmm, that sentence isn't
English.  Examples:
here's what our SOA record looks like in DNS:
$ORIGIN com.
NETdelivery     IN      SOA     castlepeak.NETdelivery.com.
andrew.NETdelivery.com. (
                97102103 43200 600 86400 3600 )
                IN      A       206.204.3.85
                IN      NS      NS1.NETdelivery.com.
                IN      NS      quandarypeak.NETdelivery.com.
                IN      MX      10 castlepeak.NETdelivery.com.

I know I'll need to add an "IN   MX   20 quandarypeak.netdelivery.com."
there.

sendmail.cf:
Is now: Cw localhost quandarypeak.netdelivery.com
change to?: Cw localhost quandarypeak.netdelivery.com netdelivery.com

Is this how I turn my box into a secondary mail recpetical?  Or do I need to
do other magic in sendmail?  I've looked through the O'Reilly System Admin
and TCP/IP books, but didn't see what I needed.  Yup, I'm pretty needy this
week.

Andrew Diederich
andrew at netdelivery.com

_______________________________________________
Web Page:  http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug





More information about the LUG mailing list