Sending Mail on Wrong IP Address

blindsp0t

Verified User
Joined
May 9, 2009
Messages
16
I've recently changed my server IP address. When looking at the exim logs I'm seeing that mail is being sent via n IP address that has nothing to do with DA. It's an address in my scope, but I've not set that address anywhere on the system. Any ideas where I should look? Exim config has not changed at all. All I've done is the instructions listed for changing the server IP, and at no point did I enter information pertaining to the IP address that is being used to send mail. I'm a little baffled.

Merry Christmas.

Mike
 
More info:

My server IP is xxx.xx.xx.158 and mail is being sent from xxx.xx.xx.156
 
Check your exim.conf file. Unless you've set a specific IP#, exim will use the main IP#. In most server configurations that's the first one on eth0.

Jeff
 
I looked in there, maybe I'm missing it. The old IP was in a completely different scope, so I have no idea why it's two IP numbers off. Seems like I've had too much to drink or something, because I'm not seeing anything in the exim.conf that states which IP to send on. The DA server only has a single IP... so strange.

PS - The exim config is default, no modifications.
 
With no IP# in the exim.conf file, it should be using the server's main IP#.

Which default exim.conf file? Please post the top ten lines.

Jeff
 
Code:
######################################################################
#                 SpamBlocker.exim.conf.2.1.1-release                #
#                             05-Jun-2007                            #
#   Runtime configuration file for DirectAdmin/Exim 4.24 and above   #
#          Requires exim.pl dated 20-Apr-2007 17:09 or later         #
######### IMPORTANT ########## IMPORTANT ########## IMPORTANT ########
# WARNING! Be sure to back up your previous exim.conf file before    #
# attempting to use this exim.conf file.                             #
#                                                                    #
 
By default that version of the exim.conf file (the one distributed by DirectAdmin) uses the main IP# for the server (generally the one running on eth0). If it doesn't then someone (perhaps you) may have edited the file and put in an interface setting. Search for interface =, and if there's such a line in your file, comment it out and restart exim.

Note however that this will probably turn off some functionality which you or someone else may have added; see this thread.

If the interface setting doesn't exist in your file, then you my need someone good at exim to look at your system.

Jeff
 
Back
Top