• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Plesk Postfix Multiple rDNS - change myhostname

ImmDev

New Pleskian
Hi,

We have a dedicated sever with Plesk, from the panel that gave us our server farm we set 3 rDNS:
  • main-server.mymaindomain.com with ip 100.136.213.102
  • main-server2.mymaindomain.com with ip 200.157.203.115
  • main-server3.mymaindomain.com with ip 155.121.234.100
In Postfix main.cf there this setting:
  • myhostname = main-server.mymaindomainmain.com
This work fine when we send eamil from a domain that use 100.136.213.102, but when we use domains that have as ip 200.157.203.115 or 155.121.234.100 MX Lookup Tool - Check your DNS MX Records online - MxToolbox return this error:

"Reverse DNS does not match SMTP Banner"

Because the email is always sent with main-server.mymaindomainmain.com and not with main-server2.mydomainmain.com if sender domain has 200.157.203.115 or with main-server3.mydomainmain.com if sender domain has 155.121.234.100


Our question is:


How do we set Plesk or Postfix in such a way as to change the "myhostname" variable of the config file according to the ip of the domain that is sending the mail? therefore:
  • main-server.mymaindomain.com if domain sender ip is 100.136.213.102
  • main-server2.mymaindomain.com with ip 200.157.203.115
  • main-server3.mymaindomain.com with ip 155.121.234.100

We have full access to the server both from SSH with root access and to the Plesk panel and we can change all file like Poestfix "main.cf", "master.cf" etc.


Thank you in advance for your availability


Sincerely
ImmDev
 
Back
Top