diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-02-28 03:02:44 +0000 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-02-28 03:03:04 +0000 |
commit | bf6ff7a4c133e442706ff09a91d2008b8a1ac82b (patch) | |
tree | 0e50fe9adf1ffa5ea041ed30f2fcccfea5e8d538 /etc/postfix/main.cf | |
parent | 2f0aed3bfbfb1ebd5a2df58f829ebbb983cc6eee (diff) |
postfix hide client hostname and ip
Details see `man postconf.5`. It seems smtpd_hide_client_session config
for port 25 smtp MTA this must be no, port 587 and 465 (submission and
submissions) MTU can be set to yes in master.cf. Port 25 smtp MTA
receives messages from others to me. Port 587 and 465 (submission and
submissions) MTU receives messages from me to others. main.cf is configs
for all. master.cf I can set configs specifically to submission and
submissions.
Before, when others receives my email that send from my laptop, it will
leak my laptop's hostname and ip in one of its `Received` header like
`Received: from <my-hostname> (<my-domain-name> [<my-ip>]) by
mail.flylightning.xyz ...`. After set smtpd_hide_client_session to yes,
that line changed to `Received: by mail.flylightning.xyz ...`, note
there's no `from ...` that leaks my ip.
Diffstat (limited to 'etc/postfix/main.cf')
0 files changed, 0 insertions, 0 deletions