Show a different banner in the exim welcome headers depending on IP being connected to.


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » Email » Exim

Show a different banner in the exim welcome headers depending on IP being connected to.Last Modified: Sep 10, 2019, 4:14 pm
This guide is old.  You can now make use of the /etc/virtual/helo_data file for this.


If a domain has an "owned" IP, it would be possible to also get exim to show a unique banner for that IP.
You can accomplish this by edint the /etc/exim.conf and adding the following code into the top section of the exim.conf.

smtp_banner =\
 ${if and{\
           {def:interface_address}\
           {eq{${interface_address}}{1.2.3.4}}\
         } {mail.host1.com}{mail.host2.com}} ESMTP $tod_full

In the above example, any connections to 1.2.3.4 will show mail.host1.com as the greeting hostname, whilte all other connection to port 25 will show mail.host.com.
 
Related Helpfiles
Force exim to send email from a particular IP

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST