PDA

View Full Version : Header mail with ip of mail server?


gnrx
11-05-2020, 04:10 PM
Hello.
I have 2 VPS, one for webserver, and other for mail server.
I configured vb for send mail via mail server, this ok but...the mails send vbulletin have this header:

Received: from [ip of webserver] (port=47432 helo=hostname of mail server)

The hostname is correct, appears of mail server but the ip is of the webserver.

Is bad config in my server or is vbulletin or other cause?

Thanks and regards!

snakes1100
11-06-2020, 08:28 AM
As you relayed it thru, it should send it out with the web server ip as the originating ip, you can strip that out, depending on client on the mail server, easy to strip/hide the originating ip in the email from the web server.

Both Ip's should be in the email when the person gets it.

gnrx
11-06-2020, 08:33 AM
Sorry, I didn't understand very well.
My webserver is configured as an email router, which connects to my mail server to send all the mail (one machine for web server another for mail server).
But effectively, the ip that appears in the header sent by vbulletin is the ip of the webserver.
If I understand you correctly, this can be hidden in the webserver client, right?
But some IP must appear in the header of the mail, my intention is that the IP of the mail server appears.

Thanks for your answer.

snakes1100
11-09-2020, 08:45 AM
No, you can hide the webserver ip, by blocking/stripping it out in the configuration of the mail server, basically wiping the relaying ip (webserver) from the header.