Cannot Send Email

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

Cannot Send Email

Postby rboynton » Apr 07 11 2:21 pm

Not sure why, but I cannot send email from my email server within my LAN. From the WG server, I can telnet to the target email server port 25 fine. I cannot, however, from any PC within the LAN. All LAN PC's can resolve the target mail.domain.com without problem, so it is not a DNS issue.

There are no restrictions for outbound LAN connections to the internet, or LAN connections to the WG server. What would prevent outbound port 25 connections?
...Rick
rboynton
Senior Member
 
Posts: 156
Joined: Jun 15 07 2:09 am
Location: Boerne, Texas

Re: Cannot Send Email

Postby adrien » Apr 07 11 5:53 pm

are these clients connecting through WinGate?

Does the SMTP server in WinGate intercept connections?

Otherwise it should work.

Just to clarify - the target server you're connecting to is

a) outside your LAN
b) able to be connected to by WinGate
c) able to be resolved (IP) by clients.

Do the clients get the same IP as WinGate does? Or is WinGate say doing an MX lookup and ending at a different server..
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Re: Cannot Send Email

Postby rboynton » Apr 07 11 11:41 pm

Yes, the internal mail server is connecting through WG. When testing connectivity, all correctly resolve the target mail server's IP.
...Rick
rboynton
Senior Member
 
Posts: 156
Joined: Jun 15 07 2:09 am
Location: Boerne, Texas

Re: Cannot Send Email

Postby adrien » Apr 08 11 12:39 am

So could WinGAte be intercepting it? Did you check interception in the SMTP server?
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Re: Cannot Send Email

Postby rboynton » Apr 08 11 1:09 am

Since we do not use the WG mail functionality, I had disabled that service (POP, SMTP, IMAP) long ago.
...Rick
rboynton
Senior Member
 
Posts: 156
Joined: Jun 15 07 2:09 am
Location: Boerne, Texas

Re: Cannot Send Email

Postby adrien » Apr 08 11 1:15 am

OK.

so how do the connections show in the activity tab? NAT or something else?

If NAT, does it work for other ports? May need to turn off interception on the WWW proxy to see.
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Re: Cannot Send Email

Postby rboynton » Apr 08 11 3:11 am

Well, out of desperation I removed WG from the mix and tied my email server directly to the router. I did this by changing the router's internal IP to be the LAN gateway of the WG server. Outbound email began flowing again. After awhile, I changed the IP's again, and put WG back. Lo and behold, everything started working again.

Ever have one of those days (weeks)?????
...Rick
rboynton
Senior Member
 
Posts: 156
Joined: Jun 15 07 2:09 am
Location: Boerne, Texas

Re: Cannot Send Email

Postby adrien » Apr 08 11 11:18 am

might pay to take a look at network traffic with wireshark or something.

Sounds like there's something weird going on with your network, perhaps ARP cache needing refreshing or something.

Do you have any WinGate NAT logs for the trouble period?

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Re: Cannot Send Email

Postby rboynton » Apr 08 11 1:24 pm

adrien wrote:might pay to take a look at network traffic with wireshark or something.


I did run a couple of captures, one on the LAN side interface of the WG box. I started a telnet session to a remote mail server on port 25 from my internal mail server. I saw a couple of connection attempts from the server. The captured packets showed the source and destination IP's, but I never saw that it was tagged for port 25 though. Very strange indeed.

adrien wrote:Sounds like there's something weird going on with your network, perhaps ARP cache needing refreshing or something.


Yeah, you could say that! That is the issue I've had with testing the WG7 beta. I end up running into something like this that takes everything down. Seems simple enough, just build a separate server, then change IP's to redirect traffic to the new box. In this latest episode, I think that something did not reconfigure properly and it stopped the works. Oh well, if IT were perfect, we'd have to find a new method of employment!

adrien wrote:Do you have any WinGate NAT logs for the trouble period?


Sure. Anything in particular you're looking for?
...Rick
rboynton
Senior Member
 
Posts: 156
Joined: Jun 15 07 2:09 am
Location: Boerne, Texas

Re: Cannot Send Email

Postby adrien » Apr 08 11 5:08 pm

rboynton wrote:
adrien wrote:might pay to take a look at network traffic with wireshark or something.


I did run a couple of captures, one on the LAN side interface of the WG box. I started a telnet session to a remote mail server on port 25 from my internal mail server. I saw a couple of connection attempts from the server. The captured packets showed the source and destination IP's, but I never saw that it was tagged for port 25 though. Very strange indeed.


It surely must have set dest port to 25. It would also be useful to capture on the external interface of WinGate to see what it turns into once it's gone through WinGate.

Other things to check are that the dest MAC on the SYN packet (on the LAN side) from the server is correct - i.e. it's actually sending it to the WinGate adapter.

rboynton wrote:
adrien wrote:Do you have any WinGate NAT logs for the trouble period?


Sure. Anything in particular you're looking for?


Logs should show NAT connections, and list ports / ips etc.

I'm wondering if perhaps there's a route loop or something weird going on. If you're not seeing anything weird on your lan (you monitoring unfiltered?) then try the external network.
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland


Return to WinGate

Who is online

Users browsing this forum: No registered users and 1 guest

cron