On 13.02.24 09:39, Aleksandar Ivanisevic via Postfix-users wrote:
so far so good, but on mail2.v2.eentf.com:

masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains = 2e-systems.com


[root@mail2.v2] fgrep 943B8CCEE05 /var/log/maillog
Feb 13 08:32:38 mail2 postfix/smtpd[3873524]: 943B8CCEE05: 
client=stats2.2e-systems.com[213.198.74.82]
Feb 13 08:32:38 mail2 postfix/cleanup[3873509]: 943B8CCEE05: 
message-id=<20240213083238.61c241c...@stats2.2e-systems.com>
Feb 13 08:32:38 mail2 opendkim[2498371]: 943B8CCEE05: no signing table match 
for 'st...@stats2.2e-systems.com'
Feb 13 08:32:38 mail2 postfix/qmgr[3729579]: 943B8CCEE05: 
from=<st...@2e-systems.com>, size=565, nrcpt=1 (queue active)
Feb 13 08:32:47 mail2 postfix/smtp[3872588]: 943B8CCEE05: 
to=<aleksan...@ivanisevic.de>, relay=mx2.forwardemail.net[104.248.224.170]:25, 
delay=8.9, delays=0.05/0/1.6/7.3, dsn=2.0.0, status=sent (250 OK: message queued)
Feb 13 08:32:47 mail2 postfix/qmgr[3729579]: 943B8CCEE05: removed

so the envelope from has been rewritten, but the received email looks like this:

...
Received: from STATS2.2e-systems.com (stats2.2e-systems.com [213.198.74.82])
by eentf.com (Postfix) with ESMTP id 943B8CCEE05
for <aleksan...@ivanisevic.de>; Tue, 13 Feb 2024 08:32:38 +0000 (UTC)
Received: by STATS2.2e-systems.com (Postfix, from userid 505)
id 61C241CE21; Tue, 13 Feb 2024 09:32:38 +0100 (CET)
From: st...@stats2.2e-systems.com
To: aleksan...@ivanisevic.de
Subject: masquerade test
Message-Id: <20240213083238.61c241c...@stats2.2e-systems.com>
Date: Tue, 13 Feb 2024 09:32:05 +0100 (CET)


is 213.198.74.82 listed in local_header_rewrite_clients ?

http://www.postfix.org/postconf.5.html#masquerade_domains

 Note: with Postfix version 2.2, message header address masquerading happens 
only when message header address rewriting is enabled:

    The message is received with the Postfix sendmail(1) command,
    The message is received from a network client that matches 
$local_header_rewrite_clients,
The message is received from the network, and the remote_header_rewrite_domain parameter specifies a non-empty value.
http://www.postfix.org/postconf.5.html#local_header_rewrite_clients



--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Christian Science Programming: "Let God Debug It!".
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to