Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2002 22:10:45 -0000
From:      =?iso-8859-1?Q?Bj=F6rn_Patrick_Swift?= <bjorn@innn.is>
To:        'Noah Davidson' <Noah@oopz.com>
Cc:        "'freebsd-isp@freebsd.org'" <freebsd-isp@freebsd.org>
Subject:   RE: Secondary MX
Message-ID:  <6973E4999161D411A57600010233D19797F013@exchange.is.innn.is>

index | next in thread | raw e-mail

Dear Noah.

1) Is this server the primary MX for this domain (has the lowest MX record
in the dns) ? If so, you need to look at something called mailertables. That
allows you to retrieve mail for a domain and then forward it to another SMTP
(or UUCP for that matter) host. For this to work you have to add the line
"FEATURE(mailertable, 'hash -o /etc/mail/mailertable')" to your freebsd.mc
file and do "make cf". The format of this file should be
	customerdomain.com		smtp:[mailserver.customerdomain.com]

Note, this file is not plan-text and has to be compiled with make maps. More
info can be found at Sendmail webpage;
http://www.sendmail.org/m4/features.html

2) If not; hmm. Sendmail should figure out where the final destination
should be. How are the MX records for this domain?

Hope this helps,
Björn Swift

-----Original Message-----
From: Noah Davidson [mailto:Noah@oopz.com] 
Sent: 30. janúar 2002 19:52
To: Björn Patrick Swift
Subject: RE: Secondary MX


I did this, but the mail bounces with the error MX points back to me
error.  How can I specify the domains that can relay, and also work as a
secondary MX to queue the mail?

Thanks
Noah

-----Original Message-----
From: Björn Patrick Swift [mailto:bjorn@innn.is]
Sent: Wednesday, January 30, 2002 11:56 AM
To: Noah Davidson; 'FreeBSD-ISP List (E-mail) '
Subject: RE: Secondary MX


Dear Noah.

First, edit your sendmail.cf file and make sure it includes a line like
this
one:
   FR-o /etc/mail/relay-domains

The edit (or create if necessary) your /etc/mail/relay-domains. The
format
for this file is basically "domain per line" so a line including
"customerdomain.com" should do the trick.

Cheers,
Bjorn Swift

-----Original Message-----
From: Noah Davidson
To: FreeBSD-ISP List (E-mail)
Sent: 30.1.2002 17:03
Subject: Secondary MX

Our primary mailserver is sendmail 8.12.2.  We have some customers that
have their own mail servers.  We want our secondary mail server to queue
mail until their server comes up on line then deliver it.  I know how to
set the priority in the MX records in DNS, but sendmail does not seem to
queue the mail.  I have added the domain in which I want to queue the
mail for in the relay-domains.  I thought I read that somewhere.  Should
this be done in the access using a line like:

To:domain.com		RELAY

or how should this be done?


Thanks
Noah Davidson

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6973E4999161D411A57600010233D19797F013>