We've enabled the cPanel option to send email through a client's dedicated IP if they have one. The feature works, but the HELO that is broadcast during an SMTP connection is still showing the server's hostname and main shared IP.
IIRC, we were able to get this to work properly back when we had to custom mod EXIM for this option by adding this:
into the Advanced EXIM settings section for cPanel. I imagine with a little tweaking we could now use that code and mail_reverse_dns to do the same.
Was wondering if there is a cPanel option to achieve this rather than custom moding EXIM.
For completeness, the domain in question is correctly listed in /etc/mail_reverse_dns and /etc/mailips and they have correct RDNS resolution. Their DNS is also correctly pointing to their dedicated IP.
IIRC, we were able to get this to work properly back when we had to custom mod EXIM for this option by adding this:
Code:
primary_hostname = theshared.serverhostname.com
smtp_active_hostname = ${lookup{$interface_address}lsearch{/etc/ip_hostnames}{$value}{$primary_hostname}}
smtp_banner = "${smtp_active_hostname} ESMTP Exim ${version_number} \#${compile_number} ${tod_full} \n We do not authorize the use of this system to transport unsolicited, \n and/or bulk e-mail."
Was wondering if there is a cPanel option to achieve this rather than custom moding EXIM.
For completeness, the domain in question is correctly listed in /etc/mail_reverse_dns and /etc/mailips and they have correct RDNS resolution. Their DNS is also correctly pointing to their dedicated IP.