Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 2002 08:54:29 -0800
From:      "Brian" <bri@sonicboom.org>
To:        "Matthew Seaman" <m.seaman@infracaninophile.co.uk>, <questions@FreeBSD.ORG>
Subject:   Re: Mail Question
Message-ID:  <00c401c29d48$274cb5a0$2324200a@me>
References:  <0B28E102-0938-11D7-8D76-0003937FE8D0@collins-ca.com> <20021206164841.GC1630@happy-idiot-talk.infracaninophi>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <m.seaman@infracaninophile.co.uk>
To: <questions@FreeBSD.ORG>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00c401c29d48$274cb5a0$2324200a>