How do I change the envelope from address in sendmail

Bill Moran wmoran at potentialtech.com
Fri Jun 13 18:22:38 PDT 2003


[sorry Jon, I'm trying to do 5 things at once and forgot to CC the list]

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 at domain.com instead of user at 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.

Any ideas?


-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



More information about the freebsd-questions mailing list