Sendmail relaying for Intranet?

Chris Maness chris at chrismaness.com
Wed Feb 13 05:30:42 UTC 2013


On Tue, Feb 12, 2013 at 3:05 PM, Robison, Dave
<david.robison at 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 at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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


More information about the freebsd-questions mailing list