-
-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postfix configuration leaks IP addresses #178
Comments
Before: After: |
I also changed these settings months ago after I realized that the headers of the emails I was sending were leaking my external ip. |
Fix: #178 leakage of public IP addresses in sent emails
Not an expert, but I spent some time looking into this. Just in-case in may not be obvious to anyone looking at this, the headers will be stripped for both incoming and outgoing emails. It may not matter to most people, but if you only want to strip the sending client's headers, see this for a possible solution: https://serverfault.com/a/998993 |
As it stands, the configuration (which is excellent by the way) leaks the source ip of the sender.
Recommend you amend the following files to strip the "Received From:" section of this:
add to /etc/postfix/main.cf
header_checks = regexp:/etc/postfix/header_checks
create file /etc/postfix/header_checks and add:
The text was updated successfully, but these errors were encountered: