Real IP in header for SMTP Nginx Mail Proxy
brunner at novatrend.ch
Fri Jan 20 07:09:35 UTC 2017
I used the instruction below to build a mail proxy server with nginx:
I configured it for IMAP, POP3 and SMTP.
It's working quite well but I don't see the real IP of the sender in the mail header. When a user is sending a mail via SMTP, I see only the following in the mail header:
For me it's important to see the real IP of the sender in the mail header, otherwise our outgoing spam filter will not like this solution.
How can I add the real IP of the sender to the mail header?
More information about the nginx