Hi,
I was wondering if its possible to expand this code to include more than one additional IP address?
I have three dedicated IP addresses which have a different domain attached to each one, this means they have different PTR records to the Server Domain. The PTR's are setup correctly, its just the SMTP Reverse PTR is mismatched DNS wise. If its possible I'd appreciate if anyone can assist in how I can expand the conditional statement to include more than one additional IP address so I can get Exim to serve the correct domain in SMTP banner to resolve the DNS mismatch.
Thanks,
James
I was wondering if its possible to expand this code to include more than one additional IP address?
Code:
smtp_banner =\
${if and{\
{def:interface_address}\
{eq{${interface_address}}{1.2.3.4}}\
} {mail.host1.com}{mail.host2.com}} ESMTP $tod_full
I have three dedicated IP addresses which have a different domain attached to each one, this means they have different PTR records to the Server Domain. The PTR's are setup correctly, its just the SMTP Reverse PTR is mismatched DNS wise. If its possible I'd appreciate if anyone can assist in how I can expand the conditional statement to include more than one additional IP address so I can get Exim to serve the correct domain in SMTP banner to resolve the DNS mismatch.
Thanks,
James
Last edited: