I'm using PHPMailer and it uses fsockopen
to access the SMTP server.
But the machine has two IPs with different reverse DNS records. So in email headers I got the following:
Received: from one-server.tld (HELO another-server.tld) ...
I need to hide one-server.tld
in favor of another-server.tld
. But I need both IPs with their current RDNS settings.