• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

SMTP Banner - Multiple IP

  • Thread starter AmministratoreS
  • Start date
We had the same problem: ip1/banner1, ip2/banner1 - correct ip1/banner1, ip2/banner2

System: Plesk 10.4.4, CentOS 6, 64 bit

http://www.linuxmail.info/postfix-multiple-ip-address-smtp-greeting/



Plesk overwrites the master.cf.

To prevent Plesk from overwriting: chattr +i /etc/postfix/master.cf

Shell: service postfix restart

This worked for us.

CU

hologer

I was only able to make this work after adding an ip-hostname mapping in /etc/hosts, which is not done automatically by plesk when adding a domain with a dedicated ip. Before adding the mapping in the /etc/hosts file, postfix was failing the restart and the /var/log/maillog had a fail entry saying that postfix could not perform a binding to those ip addresses. Once I added the mappings in the /etc/hosts file I was able to restart postfix and now I magically have the correct SMTP greetings if I telnet on port 25 to my domain:

telnet-screenshot.png
 
Back
Top