Page 1 of 1

SMTP Banner problem for 2 mail domains

Posted: Tue Jan 16, 2018 7:20 pm
by lavavps.lt
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!

Re: SMTP Banner problem for 2 mail domains

Posted: Wed Jan 17, 2018 10:57 am
by lavavps.lt
Any experience on such case? Do VestaCP support such usage?
May be the only solution is to have two different mail servers if I want to use VestaCP?

Re: SMTP Banner problem for 2 mail domains

Posted: Tue Nov 06, 2018 10:15 am
by Bubblecatcher
wonder if this solution would work vestacp?

https://forum.directadmin.com/showthread.php?t=36468