Date: Fri, 6 Dec 2002 16:48:41 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: questions@FreeBSD.ORG Subject: Re: Mail Question Message-ID: <20021206164841.GC1630@happy-idiot-talk.infracaninophi> In-Reply-To: <0B28E102-0938-11D7-8D76-0003937FE8D0@collins-ca.com> References: <0B28E102-0938-11D7-8D76-0003937FE8D0@collins-ca.com>
index | next in thread | previous in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021206164841.GC1630>
