kaijidesign
New member
- Joined
- Jun 27, 2017
- Messages
- 2
I'm trying to setup the smtp server correctly for mulitple IP's
When I'm checking the IP on mxtoolbox.com there is a warning that the SMTP banner is not correct.
I have search google and saw the following solution for adding to the exim.xonf
This works fine for 2 IP's the base IP and 1 IP for my customer.
But I have multiple IP's and was looking for a solution.
There was an website with the solution:
So I treid this but when I restart EXIM it won't restart.
Can someone explain what is wrong
When I'm checking the IP on mxtoolbox.com there is a warning that the SMTP banner is not correct.
I have search google and saw the following solution for adding to the exim.xonf
Code:
smtp_banner =\
${if and{\
{def:interface_address}\
{eq{${interface_address}}{1.2.3.4}}\
} {mail.host1.com}{mail.host.com}} ESMTP $tod_full
This works fine for 2 IP's the base IP and 1 IP for my customer.
But I have multiple IP's and was looking for a solution.
There was an website with the solution:
Code:
smtp_banner =\
${if and{\
{def:interface_address}\
{eq{${interface_address}}
{1.2.3.4}
{2.3.4.5}
{3.4.5.6}
}\
}
{www.host1.com}
{www.host2.com}
{www.host3.com}
{}
{www.host.com}} ESMTP $tod_full
So I treid this but when I restart EXIM it won't restart.
Can someone explain what is wrong