SMTP Banner problem for 2 mail domains
Posted: Tue Jan 16, 2018 7:20 pm
Hello,
I have 1 VPS with 2 static IPs (2 domain names - 1 IP per domain name) for my mail server.
Have VestaCPs with httpd, named, exim, dovecot, mysqld, vsftpd, crond.
Do not use web server at the moment (works for PHP redirect only). Mail server is running. Can send and receive emails (with some exclusions, but it is other question, hope to solve them after this case will be solved).
Successfully configured SPF, DKIM, DMARC. Have required DNS settings on domain names registrar, have rDNS (reverse) setting for each IP.
But still have a problem with SMTP Banner setting for both domain names. Searched on internet but no luck...
Currently have set server hostname with is my DomainNameNo1. And because of this MailDomainNo1 have good SMTP banner setting. But MailDomainNo2 have bad SMTP banner setting because it require to set DomainNameNo2 as hostname.
As I understand - SMTP Banner = server hostname. As hostname is a global VPS setting it is possible to set the one DomainName only. But for both DomainNames need to use two different hostnames as SMTP banners. How to solve this?
Not sure if my case is understandable but hope it is :)
I believe I am not a first person with this case and hope to get your advises. It is a very first time when I am building mail server and do not have much experience on this.
Note: VPS OS - CentOS 6.0
Thank you in advance!
I have 1 VPS with 2 static IPs (2 domain names - 1 IP per domain name) for my mail server.
Have VestaCPs with httpd, named, exim, dovecot, mysqld, vsftpd, crond.
Do not use web server at the moment (works for PHP redirect only). Mail server is running. Can send and receive emails (with some exclusions, but it is other question, hope to solve them after this case will be solved).
Successfully configured SPF, DKIM, DMARC. Have required DNS settings on domain names registrar, have rDNS (reverse) setting for each IP.
But still have a problem with SMTP Banner setting for both domain names. Searched on internet but no luck...
Currently have set server hostname with is my DomainNameNo1. And because of this MailDomainNo1 have good SMTP banner setting. But MailDomainNo2 have bad SMTP banner setting because it require to set DomainNameNo2 as hostname.
As I understand - SMTP Banner = server hostname. As hostname is a global VPS setting it is possible to set the one DomainName only. But for both DomainNames need to use two different hostnames as SMTP banners. How to solve this?
Not sure if my case is understandable but hope it is :)
I believe I am not a first person with this case and hope to get your advises. It is a very first time when I am building mail server and do not have much experience on this.
Note: VPS OS - CentOS 6.0
Thank you in advance!