Open Kloadut opened 10 years ago
Still relevant ?
I guess so, this was reported by Benjamin. Needs investigations :)
We do have https://github.com/YunoHost/packages/blob/test/yunohost-config-postfix/config/postfix/main.cf#L126
and :
$ cat /etc/postfix/header_checks
/^X-Originating-IP:/ IGNORE
/^Received:/ IGNORE
/^User-Agent:/ IGNORE
/^X-Mailer:/ IGNORE
But reading http://www.cyberciti.biz/faq/postfix-remove-hide-hostnames-ip-addresses it feels like all Received and X-Originating-IP headers are stripped, unconditionnally, even for emails receives from other SMTP servers, while we could only strip the originating IP of Yunohost users and leave other emails untouched ?
and for completeness, I confirm the settings work as expected : I cannot see my originating IP in mails I send via the Yunohost SMTP. Tested via my phone & k9mail.
Remove sender IP of the mail header (one line to be added to master.cf).