Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Nov 1995 01:22:57 -0500
From:      "Michel Joly de Lotbiniere" <mjdl@interlog.com>
To:        Robert Gorichanaz <wraith@hollywood.cinenet.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Configuring sendmail 
Message-ID:  <199511040622.BAA04631@lotbiniere.interlog.com>
In-Reply-To: Message from Robert Gorichanaz <wraith@hollywood.cinenet.net>  of "Fri, 03 Nov 1995 15:24:33 PST."  <199511032324.XAA22260@hollywood.cinenet.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
Define MASQUERADE_NAME in your .mc file; e.g. I'm connecting
to my ISP via PPP, all my mail must appear to originate from
mjdl@interlog.com, eventhough I'm actually @lotbiniere.interlog.com
(ISP charges extra for an MX record in the DNS), so lotbiniere.mc is:

include(`../m4/cf.m4')

OSTYPE(bsd4.4)dnl
undefine(`confBIND_OPTS')dnl                 <---- ignore this
define(`SMART_HOST', smtp:mail.interlog.com) <----   "      "
define(`MASQUERADE_NAME', interlog.com) <---- this is what you need to do
MAILER(smtp)dnl
MAILER(local)dnl

and m4 < lotbiniere.mc >sendmail.cf

The MASQUERADE_NAME generates the lines

# who I masquerade as (null for no masquerading)
DMinterlog.com

in sendmail.cf

This works for me; you will need to copy /usr/src/usr.sbin/sendmail/cf
and subdirectories if you want to do it from scratch, or else
just alter the 

DM

line in sendmail.cf

=========================
Michel Joly de Lotbiniere
mjdl@interlog.com
=========================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511040622.BAA04631>