• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Postfix: Adding rDNS name in smtp_helo_name in the transport daemon line of master.cf

Miguel_Tellería

Basic Pleskian
Dear all,

In a server with multiple IP addresses and having the suscriptions and domains distributed among them, we would like to have in our outgoing connections the HELO name matching the reverse DNS of the bound IP address.

I have asked this question in ServerFault to check if there is a postfix centric way to achieve this.
http://serverfault.com/questions/70...ix-helo-name-match-the-reverse-dns-of-the-sou

After doing a research in Postfix options and the way that Plesk assigns outgoing IP's through the sdd_transport_maps options (and the corresponding Berkeley DB) we would like to add a final wishlist that would make us totally happy:

Having Plesk add the remote DNS of the outbound IP address as a -o smtp_helo_name option for the transport lines that generates at the end of /etc/postfix/master.cf:
http://kb.odin.com/en/114491

or at least provide us with an option in the panel, to enter those values.

I have already tried in "Tools and Settings --> Mail Server Configuration --> Sending mode" the option of "Sending from domains IP and using the domain name as an SMTP hello" but that created a single line per domain multiplying the number of SMTP transports and the size (and maintenability) of /etc/postfix/master.cf. Even with all that I think that giving the correct remote DNS name is more desirable that giving the domain name as a salute (according to http://mail-tester.com).

For the moment if Plesk panel cannot provide us with a solution we are only left with the option of writing a wrapper script that would look for those transport lines, perform a reverse DNS query and add the smtp_hello_name parameter to each of those lines.
 
Back
Top