From owner-freebsd-questions Fri Dec 6 8:54:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AD0637B401 for ; Fri, 6 Dec 2002 08:54:09 -0800 (PST) Received: from entwistle.sonicboom.org (node-423a3b1b-san-onnet.worldcom.com [66.58.59.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2A0D43ECF for ; Fri, 6 Dec 2002 08:54:08 -0800 (PST) (envelope-from bri@sonicboom.org) Received: from me (gateway.sonicboom.org [66.58.59.29]) by entwistle.sonicboom.org (8.12.6/8.12.6) with SMTP id gB6Gs8Pe002761; Fri, 6 Dec 2002 08:54:08 -0800 (PST) (envelope-from bri@sonicboom.org) Message-ID: <00c401c29d48$274cb5a0$2324200a@me> From: "Brian" To: "Matthew Seaman" , References: <0B28E102-0938-11D7-8D76-0003937FE8D0@collins-ca.com> <20021206164841.GC1630@happy-idiot-talk.infracaninophi> Subject: Re: Mail Question Date: Fri, 6 Dec 2002 08:54:29 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG If he wants mail for ALL domains forwarded, why not just edit the smart host line in sendmail.cf and restart sendmail? Bri ----- Original Message ----- From: "Matthew Seaman" To: Sent: Friday, December 06, 2002 8:48 AM Subject: Re: Mail Question > On Fri, Dec 06, 2002 at 11:30:34AM -0500, Chris Collins wrote: > > > I have a very simple question that I cannot seem to find a simple > > answer for. > > > > I would like to have all SMTP delivered mail to (Box A)relayed to a > > external mail server (Box B) for delivery then have the mail delivered > > to its destination. > > > > > > User A send mail ---- 10.0.0.10(smtp Box A) ---- relay to 216.X.X.X > > (external server Box B) for delivery ---- to destination host. > > > > Is there any simple way to do this? I am not sure how to relay the mail > > from box A to Box B > > Define box B as the smart host in box A's /etc/mail/`hostname`.mc: > > define(`SMART_HOST', `boxb.your.dom.ain') > > If `hostname`.mc doesn't exist, typing 'make' in /etc/mail will > generate a default version. After editing that file, simply: > > cd /etc/mail > make install restart-mta > > to generate the modified sendmail.cf and load it into the sendmail MTA > process. > > Simple enough for you? > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > Savill Way > Marlow > Tel: +44 1628 476614 Bucks., SL7 1TH UK > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message