Link to home
Start Free TrialLog in
Avatar of avaris4069
avaris4069

asked on

2nd NIC messing up buitin POP3 server in Server 03

I recently added a 2nd NIC to my server with it's own public static IP. After having done this my POP3 server keeps trying to send through the wrong NIC. I have confirmed this by disabling the new NIC and observing that the POP3 traffic works again. Is there some way to tell the BUilt in POP3 server not to use the wrong NIC?
Avatar of nitsud01
nitsud01

What mail server are you using? If it is exchange then:

Open Exchange System Manager
Expand your exchange organization
Expand the Servers group
Expand "YourServerName"
Expand the Protocols group
Expand the POP3 group
Right-click on your Default POP3 server (or whatever you're using)

In that dialog, you should be able to bind your POP3 server to a specific network adapter...

Hope that helps... If you aren't using exchange, there should still be a way to assign a specific ip address or network adapter to your pop3 server, you'll just have to figure out where the config option is....

Avatar of avaris4069

ASKER

As stated  I am using the Built in Mailer server Program not exchange.
I guess I'm not familiar with the "Built in Mailer server Program" in Server 2003... What version of the o/s are you using? Do you have some sort of management console that allows you to configure settings within the application/service? Maybe if you can describe the options available to you, I can be more helpful.....
http://www.ilopia.com/Articles/WindowsServer2003/EmailServer.aspx if this doesn't shed some light on what I am using then i don't know what to tell you.
Ahhh.... I see.... Sorry about the confusion.... I've mostly used Exchange server instead of the builtin mail services that come with 2003, so I kind of forgot they were there :) I incorrectly assumed you were using some 3rd party software.....

Is your Default SMTP server bound to the correct NIC/IP in the IIS snap-in?
No Problem. Yes The SMTP is working fine and I know how to change that one if necessary but I have no idea how to change the pop3.
Ok let's get some more info on the table here, maybe someone else will help us shed some light. I don't know the solution to your problem, but I would like to help you figure it out.....

First of all, which NIC are you trying to use for POP3/SMTP?  NIC A or NIC B? (NIC B being the new one) (I assume you're trying to run both services from the same NIC) What are their IP addresses? (you can use xxx.xxx.209.100, I know at least one is public :)

I believe what you are saying is that the incoming POP requests are being routed through the correct NIC A, but outgoing responses are sent from NIC B.... Have you verified this activity via a packet sniffer? or are you assuming that POP3 service is using NIC A instead of NIC B merely because it stops working when the NIC B is enabled?

Are you using port forwarding (110) to NIC A or DMZ?

If indeed the problem is that the POP3 service is using the wrong NIC for outgoing responses, we need to figure out it how the POP3 service is selecting the NIC....
I am forwarding 110 to NIC A and i have not used a packet sniffer .I have only turned off the interfereing NIC and noted sucessfull transmissions.
Then I would not assume that outgoing POP transmissions are using NIC B for communication when enabled... Though that could still be the case...  I'd use a packet sniffer to be sure.... Also, I find it doubtful that the POP3 service would accept incoming traffic on one NIC, but send outgoing traffic through another.... So, even if we found a way to bind the POP3 service to a NIC, I doubt that would fix your problem.... I'd guess that the POP3 service will only using one NIC for any sort of communications at any given time, until configured otherwise.... Since you're forwarding port 110 to NIC A's IP address, we know for sure that any incoming POP traffic is going to NIC A... If the POP3 service was running on NIC B, you wouldn't even be able to open a session with the POP3 server at that point..... ya follow?

You might try changing the card to a different PCI/PCI-E slot to try and rule out resource conflicts.... Or even try using a different brand/model NIC and see if problems persist...

I'm just trying to isolate the problem a bit more, because now, as we have it, all we really know is that POP3 stops working when NIC B is enabled, right?
Avatar of Rob Williams
Out of curiosity is there a default gateway on both NIC's. Only put a default gateway on the NIC to be used for the Internet, the POP3 one.
yes there were gateways on both. I removed the gateway from the vnp nic. This actually resolved an unrelated problem but unfortunately the pop3 still only works if I disable nic 2 (vpn nic (btw cause problems whether vpn or just sitting there with and ip) )
Doubt it will make a difference, but also try setting the binding order; control panel | network connections | on the menu bar - advanced | advanced settings | adapters and bindings.
I would also assume after removing gateways or making TCP/IP changes that the POP3 service needs to be re-started, or the server re-booted.
Excellent thought on the binding unfortunately no luck. I also thought that perhaps the pop3 traffic was trying to go out the 2nd nic so I configured a client to try that one...no luck it would seem that having 2 nics just leaves pop3 indecisve.
>>"2 nics just leaves pop3 indecisve"
Odd, shouldn't with only one gateway. Though I must say I am not familiar with the built in POP3 functionality. 2 gateways would certainly add to the random selection.

Perhaps post the results from a route print statement, just to see that the basic routing table is OK. Perhaps nitsud01
 can "attack" from the mail server end, and I can look at the routing.
Route print statement? how do i get that? Also with the vpn gateway disabled the vpn doesn't work so even if that did fix the pop3 issue it would cause another.
>>'Also with the vpn gateway disabled "
Is the VPN using the other NIC? You cannot run 2 NIC with 2 gateways.
It is also possible that if you have the VPN running,i.e RRAS enabled on the server that it is blocking some connections. It has a built in NAT firewall that may be enabled. Try totally disabling RRAS, by opening the RRAS management console, right click on the server and choose disable. You will have to reconfigure when you re-enable it.

I am assuming this is not Small Business Server ??

>>"Route print statement? how do i get that?"
From a command line enter:
route  print  > c:\Output.txt
Open c:\Output.txt and copy and paste the results here.
Ok first I want you to know i am upping the pot to 350 points since you are being so dedicated to helping me and this will likely take a bit longer. This is Server 03 Enterprise. I am fortunate in being the IT Manager for a Car dealership means that Vendors often discontinue services and leave their equipment for me to deal with...score me one Server 03 Enterprise :).  I had already tried totally disabling RRAS but the only thing that rights the situation is disabling the card itself. Here is where my limited networking knowledge is going to show through and make me look stupid....If I can't have 2 nic with 2 gateways how can I have a nic for private and public as most of the vpn guides suggest?
ASKER CERTIFIED SOLUTION
Avatar of Rob Williams
Rob Williams
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
RobWill get's the pot again b/c he pointed out what should have been obvious...2nic 2gateways...bad me!!! once Changed my network setup to have a private network with no gatewate in the configuration and then used the public nic for pop and my vpn with packet filtering setup correctly everything is fine...THANKS ROBWILL!!
Glad to hear avaris4069 . Thanks,
--Rob
Interesting... Good call RobWill....