Date: Sat, 14 Jun 2003 15:46:54 -0400 From: Chuck Swiger <cswiger@mac.com> To: Bill Moran <wmoran@potentialtech.com> Cc: questions@freebsd.org Subject: Re: How do I change the envelope from address in sendmail Message-ID: <3EEB7BAE.5010508@mac.com> In-Reply-To: <3EEA6D43.3050101@potentialtech.com> References: <3EEA6D43.3050101@potentialtech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Bill Moran wrote: [ ... ] > I've tried creating a local-host-names file in /etc/mail according to > some Linux howtos I found, but it doesn't seem to be helping. Right. This change won't help solve the problem you asked about. > What's the proper way to get sendmail to use user@domain.com > instead of user@machine.domain.com? Someone else already provided references to MASQUERADE_AS(), but if you can't get that working, you can forcibly set it by uncommenting the following line in /etc/mail/sendmail.cf: # my official domain name # ... define this only if sendmail cannot automatically determine your domain #Dj$w.Foo.COM ...to: Djdomain.com [ Using an .mc file is the way to go if at all possible, but the above plus a "make restart" should do in a pinch. ] -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EEB7BAE.5010508>