Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2013 21:30:35 -0800
From:      Chris Maness <chris@chrismaness.com>
To:        david.robison@fisglobal.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Sendmail relaying for Intranet?
Message-ID:  <CANnsUMG-g_=-8zFLJRAj3GHXZu5_T-8Fhzduq14rOQeY%2B8BSyQ@mail.gmail.com>
In-Reply-To: <511ACAC8.80801@fisglobal.com>
References:  <CANnsUME8sbH9T3Ni3-AZ1D0OKwYwq2hd4tyDhcqudraWnpy8cg@mail.gmail.com> <511ACAC8.80801@fisglobal.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 12, 2013 at 3:05 PM, Robison, Dave
<david.robison@fisglobal.com> wrote:
>
> On 02/12/2013 12:54, Chris Maness wrote:
>> I have a FreeBSD box running sendmail that can see the whole internet.
>>  I have another mail server that hosts mail for an intranet.  It does
>> not have access to the i-net.  I think I remember reading that it is
>> possible for the i-net attached sendmail to relay mail for a domain to
>> another host.  Is there an easy answer and configuration for this?  If
>> not, no biggy since this exercise is more academic than a necessity.
>>
>> Thanks,
>> Chris Maness
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>>
>>
>
> in sendmail.cf on the host to be your relay, check for "DS" and use it
> like this:
>
> DS relayhost.domain.com
>
> in sendmail.cf on the hosts which will be relaying, use the DS command
> but point them to your new relay host.
>
> hope this helps.
>
> Dave

Dave, how would I add this to the MC file instead of the CF file?  I
usually rebuild these after an upgrade or a configuration change, and
I would rather do it in the MC file for that reason.

Thanks,
Chris Maness



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANnsUMG-g_=-8zFLJRAj3GHXZu5_T-8Fhzduq14rOQeY%2B8BSyQ>