Force exim to send email from a particular IP


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


Top Level » Email » Exim

Force exim to send email from a particular IPLast Modified: Sep 10, 2013, 12:46 am
If you need to change the IP that is used to send email out of your systme, you can do so by editing your /etc/exim.conf.
Change:

remote_smtp:
  driver = smtp

to:

remote_smtp:
  driver = smtp
  interface = 1.2.3.4

Where 1.2.3.4 is the IP you want exim to use.


Exim also has the ability to use string expansion to change the IP based on some criteria you'd like.
Discussion about this is on the forum. Note that we have not tested it:
http://forum.directadmin.com/showthread.php?t=36468&page=3&p=231599#post231599
 
Related Helpfiles
Show a different banner in the exim welcome headers depending on IP being connected to.
I need exim to send all outbound email through a remote mail server

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