Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2002 04:13:11 -0700
From:      neuhauser@mail.cz
To:        freebsd-questions@freebsd.org
Subject:   can't get sendmail to masquerade envelope sender
Message-ID:  <170402107.15191@194.213.62.3>

next in thread | raw e-mail | index | archive | help

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')

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?170402107.15191>