How can I set a different SMTP hostname greeting for each dedicated IP Address on my server?
If my main SMTP hostname is: vps.example.com with the IP of 192.0.43.10 and I have some vhosts on that server with dedicated IPs domainone.com 192.0.43.11 domaintwo.com 192.0.43.12 domainthree.com 192.0.43.13 How can I make the SMTP hostname greeting for those IPs match the domains? I have reverse dns already set for this and now would like to find a way to have Postfix cover the greeting part. I found a tutorial online that mentioned editing master.cf to add this: 192.0.43.11:smtp inet n - n - - smtpd -o myhostname=domainone.com 192.0.43.12:smtp inet n - n - - smtpd -o myhostname=domaintwo.com 192.0.43.13:smtp inet n - n - - smtpd -o myhostname=domainthree.com But I am not sure that is correct and wanted to ask here. My intention is to remove the unknown [192.0.43.11] in headers and make them look like domainone.com [192.0.43.11] Thanks, Cameron