Date: Sat, 14 Jun 2003 10:59:34 -0400 From: Bill Moran <wmoran@potentialtech.com> To: questions@freebsd.org Subject: Re: How do I change the envelope from address in sendmail Message-ID: <3EEB3856.2080003@potentialtech.com> In-Reply-To: <20030614102915.GB28408@grimoire.chen.org.nz> References: <3EEA6D43.3050101@potentialtech.com> <20030614005328.GA27382@grimoire.chen.org.nz> <3EEA77D7.2040401@potentialtech.com> <20030614102915.GB28408@grimoire.chen.org.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks to all who helped. The answer was in the handbook (I should have thought to try there first) For the archives, this is the section that solved it for me: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-dialup.html Although I still don't _understand_ what that does ... Jonathan Chen wrote: > On Fri, Jun 13, 2003 at 09:18:15PM -0400, Bill Moran wrote: > >>Jonathan Chen wrote: >> >>>On Fri, Jun 13, 2003 at 08:33:07PM -0400, Bill Moran wrote: >>> >>>[...] >>> >>> >>>>howtos I found, but it doesn't seem to be helping. What's the proper way >>>>to >>>>get sendmail to use user@domain.com instead of user@machine.domain.com? >>> >>> >>>You have to add the following into your /etc/mail/`hostname`.mc file. >>> >>> MASQUERADE_AS(domain.com) >>> FEATURE(`masquerade_envelope') >> >>Thanks, but this hasn't helped. Any suggestions on what I could be doing >>wrong? >> >>I added the two lines above to my .mc file and did a 'make; make restart' in >>the /etc/mail directory. The results are the same. My .mc file is stock >>otherwise except I've defined a SMART_HOST. > > > Did you do a "make install" to install the results of your mc file to > sendmail.cf? About the only other thing I can suggest do to add a: > > define(`confDOMAIN_NAME', `domain.com')dnl > > That should tell sendmail to negotiate as "domain.com" instead of > machine.domain.com. > > Cheers. -- Bill Moran Potential Technologies http://www.potentialtech.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EEB3856.2080003>