Continuing the discussion from Exim4 Outbound IP address based on web domain IP:
Is the same possible for inbound IP?
For example I have main server with hostname server.domain1.com with IP x.x.x.x.
and when I connect to a server i get:
Connecting to x.x.x.x
220 server.domain1.com [688 ms]
EHLO open.relay.hunter
250-server.domain1.com Hello open.relay.hunter
as expected,
but when I try to connect on other domain and IP (with the same rDNS) mail.domain2.com IP: y.y.y.y
I still get the primary hostname:
Connecting to y.y.y.y
220 server.domain1.com [688 ms]
EHLO open.relay.hunter
250-server.domain1.com Hello open.relay.hunter
Is it possible to change this to domain2?
My /etc/exim/conf.d/main/02_exim4-config_options are:
MAIN_SMTP_BANNER = “${primary_hostname} ESMTP Exim”
smtp_banner = $smtp_active_hostname ESMTP Exim
BR,
N