PDA

View Full Version : Question about header email and ip server



chronic
03-28-2008, 07:39 AM
Hi, i try to explain my "problem"...

I've 2 ip on my server 194.x.x.4 and 194.x.x.5, but i use only the first for the all domain and i use the second only for the secondary nameserver.

Now i've see that, when i send an email from any of account on my server, to external server domain email, in the header of email i see something about this: "Received: from server1.hostname.com ([194.x.x.5])"

My question is, why the ip in the header email is the second? this ip is free and i use this only for the NS2...

Where i can search for this "problem", in exim? dns? or other?
Could someone help me?

Thanks

nobaloney
03-30-2008, 12:38 PM
Unless you've changed your exim.conf file, email is sent from the main IP#; the first one set up on the server.

Jeff

chronic
03-30-2008, 04:54 PM
Thanks Jeff,
no change in exim.conf... only yesterday i've update it, but not help me:
http://help.directadmin.com/item.php?id=51

Then i've force exim to send email with ip that i want: http://help.directadmin.com/item.php?id=152

After this operation, it use correct ip and it seems okay, but i don't know if it's the best way to resolve my problem.

Any other suggestion?

nobaloney
03-31-2008, 02:21 PM
I don't know why your exim installation isn't using your main IP#. But yes, the method you're now using is the right way to force a specific IP# to be used.

Jeff