Date: Wed, 17 Apr 2002 09:04:05 -0400 From: Mike Galvez <mrg8n@virginia.edu> To: neuhauser@mail.cz Cc: freebsd-questions@FreeBSD.ORG Subject: Re: can't get sendmail to masquerade envelope sender Message-ID: <20020417090405.B71480@mail.virginia.edu> In-Reply-To: <170402107.15191@194.213.62.3>; from neuhauser@mail.cz on Wed, Apr 17, 2002 at 04:13:11AM -0700 References: <170402107.15191@194.213.62.3>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 17, 2002 at 04:13:11AM -0700, neuhauser@mail.cz wrote: > > Hi there, > > I have two questions regarding sendmail. > > 1) Is there an online manual besides the FAQ at sendmail.org? > > 2) I'm having trouble getting sendmail to masquerade envelope > sender. > > This computer is behind NAT, and all outgoing trafic should go > to a smarthost. I have edited `hostname`.mc, adding these lines: > > MASQUERADE_AS(mail.cz) > FEATURE(masquerade_entire_domain) > FEATURE(masquerade_envelope) > define(`SMART_HOST', `mail.cz') You need to have a backtick ` and single quote ' around these items: FEATURE(`masquerade_envelope')dnl FEATURE(`use_cw_file')dnl FEATURE(`access_db')dnl FEATURE(`local_procmail')dnl HTH > > Then, `make all install restart` in /etc/mail/. > Headers sent out look like this. What's wrong? > > Return-Path: <neuhauser@mail.cz> > Received: (qmail 15208 invoked by uid 204); 16 Apr 2002 09:43:41 > -0000 > Received: from neuhauser@mail.cz by k0r3.reflektor.cz with qmail-scanner-1.03 > > +(uvscan: v4.1.40/v4174. . Clean. Processed in 0.588878 secs); > 16 Apr 2002 > +09:43:41 -0000 > > Received: from nat3.mobil.cz (HELO roman.mobil.cz) (194.213.62.3) > > by mail.cz with SMTP; 16 Apr 2002 09:43:40 -0000 > > Received: (from roman@localhost) > by roman.mobil.cz (8.11.6/8.11.6) id g3G9xTQ39225 > for jan.vlasak@bull.cz; Tue, 16 Apr 2002 11:59:29 +0200 > (CEST) > (envelope-from neuhauser@mail.cz) > X-Authentication-Warning: roman.mobil.cz: roman set sender to > neuhauser@mail.cz > +using -f > Date: Tue, 16 Apr 2002 11:59:29 +0200 > From: Roman Neuhauser <neuhauser@mail.cz> > To: Jan Vlasak <jan.vlasak@bull.cz> > > > > ----- > Sent using MailStart.com ( http://MailStart.Com/welcome.html ) > The FREE way to access your mailbox via any web browser, anywhere! > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Michael Galvez Information Technology Specialist III E-Mail: mrg8n@nospam.virginia.edu University of Virginia Office: 434-982-2975 The light at the end of the tunnel may be an oncoming dragon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020417090405.B71480>