Masquerade the from field using sendmail

Dominic Mitchell dom at happygiraffe.net
Wed May 22 10:48:51 BST 2002


On Tue, May 21, 2002 at 10:02:09PM +0100, Jose Marques wrote:
> On Tue, 21 May 2002, Matthew Seaman wrote:
> 
> [Snip]
> > Then just run `make' in /etc/mail to rebuild the hashed lookup table.
> 
> On this topic does anybody know how to make sendmail use a particular
> hostname when it issues the "HELO" command.  I'm running sendmail on a
> NAT-ed network.  The hostname is libretto.local (ie. it's bogus and only
> know to my private DNS server).  I'm delivering directly and am finding
> that some mail relays (most notably the ones for freebsd.org) are
> rejecting my mails because "libretto.local" doesn't resolve.  I'm using
> masquerading so my envelope matches my public hostname but this does not
> appear to be enough.

Add this lines to your .mc file:

define(`confDOMAIN_NAME', `my.self.com')

-Dom




More information about the Ukfreebsd mailing list