From owner-freebsd-isp Wed Jan 30 14: 2:36 2002 Delivered-To: freebsd-isp@freebsd.org Received: from exchange.is.innn.is (exchange.innn.is [213.176.158.3]) by hub.freebsd.org (Postfix) with ESMTP id 2817237B402 for ; Wed, 30 Jan 2002 14:02:29 -0800 (PST) Received: by exchange.is.innn.is with Internet Mail Service (5.5.2653.19) id ; Wed, 30 Jan 2002 22:10:45 -0000 Message-ID: <6973E4999161D411A57600010233D19797F013@exchange.is.innn.is> From: =?iso-8859-1?Q?Bj=F6rn_Patrick_Swift?= To: 'Noah Davidson' Cc: "'freebsd-isp@freebsd.org'" Subject: RE: Secondary MX Date: Wed, 30 Jan 2002 22:10:45 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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=F6rn Swift -----Original Message----- From: Noah Davidson [mailto:Noah@oopz.com]=20 Sent: 30. jan=FAar 2002 19:52 To: Bj=F6rn 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=F6rn 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