Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Fail to connect to SMTP server on WinXP but works on Win2K, posted by David Spindler on Sat Mar 6 19:59:58 2010 
    icon5.gif   Re: Fail to connect to SMTP server on WinXP but works on Win2K, posted by David Spindler on Sat Mar 6 20:06:24 2010 
       icon2.gif   Re: Fail to connect to SMTP server on WinXP but works on Win2K, posted by David Spindler on Sat Mar 6 20:16:52 2010 
          icon2.gif   Re: Fail to connect to SMTP server on WinXP but works on Win2K, posted by Stefan Ritt on Thu Mar 11 15:47:21 2010 
             icon2.gif   Re: Fail to connect to SMTP server on WinXP but works on Win2K, posted by David Spindler on Fri Mar 12 19:30:53 2010 
                icon2.gif   Re: Fail to connect to SMTP server on WinXP but works on Win2K, posted by David Spindler on Wed Mar 17 21:34:53 2010 
                   icon2.gif   Re: Fail to connect to SMTP server on WinXP but works on Win2K, posted by soren poulsen on Wed Mar 17 22:39:59 2010 
                      icon2.gif   Re: Fail to connect to SMTP server on WinXP but works on Win2K, posted by David Spindler on Thu Mar 18 20:08:03 2010 
                         icon2.gif   Re: Fail to connect to SMTP server on WinXP but works on Win2K, posted by David Spindler on Thu Mar 18 20:34:41 2010 
                            icon2.gif   Re: Fail to connect to SMTP server on WinXP but works on Win2K, posted by soren poulsen on Fri Mar 19 13:45:13 2010 
                               icon2.gif   Re: Fail to connect to SMTP server on WinXP but works on Win2K, posted by David Spindler on Fri Mar 19 15:56:38 2010 
                                  icon2.gif   Re: Fail to connect to SMTP server on WinXP but works on Win2K, posted by David Spindler on Fri Mar 19 20:18:17 2010 
                                     icon2.gif   Re: Fail to connect to SMTP server on WinXP but works on Win2K, posted by David Spindler on Fri Mar 19 20:26:44 2010 
Message ID: 66775     Entry time: Fri Mar 19 20:26:44 2010     In reply to: 66774
Icon: Reply  Author: David Spindler  Author Email: dsspindler@gmail.com 
Category: Question  OS: Windows  ELOG Version: 2.7.7 
Subject: Re: Fail to connect to SMTP server on WinXP but works on Win2K 

David Spindler wrote:

David Spindler wrote:

soren poulsen wrote:

David Spindler wrote:

David Spindler wrote:

soren poulsen wrote:

David Spindler wrote:

David Spindler wrote:

Stefan Ritt wrote:

David Spindler wrote:

David Spindler wrote:

Fantastic. I forgot the icon and when I resent nothing was left. 

Here goes again!

I have been running Elog for years on a Win2K machine with no email problems. I have been forced to move it to a WinXP machine and I always get this message under WinXP: "Error sending Email via "netsvr10.prod.company.com": Cannot connect to server"

 

I noticed this a long time ago but was not concerned until I wqas forced to use WinXP. We have years of data in the Elog and to lose the use of it would hinder our operation a lot.

 

Here is an entry from the elog.log file when it worked under Win2K:

28-Oct-2009 18:28:38 [609144@199.82.127.9] {Generals} NEW entry #0
28-Oct-2009 18:28:38 [609144@199.82.127.9] {Generals} Email from <christophermeyer@fedex.com> to david.spindler@company.com, SMTP host smtp.mail.company.com
28-Oct-2009 18:28:42 [609144@199.82.127.9] {Generals} 220 netsvr10.prod.company.com -- Server ESMTP (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit))

 

Here is an entry from today's elog.log under WinXP that does not work.

06-Mar-2010 11:48:23 [117361@127.0.0.1] {Gbld} NEW entry #0
06-Mar-2010 11:48:23 [117361@127.0.0.1] {Gbld} Email from <david.spindler@company.com> to david.spindler@company.com, SMTP host smtp.mail.company.com
06-Mar-2010 11:48:23 [117361@127.0.0.1] {Gbld} READ entry #1612

We use an SMTP server without authentication.
 

 I picked a bad example with an IP address of 127.0.0.1, but it is the same as a valid IP address such as the working entries above or the entry below.

06-Mar-2010 10:31:43 [117361@199.81.166.149] {Gbld} READ entry #1691
06-Mar-2010 10:39:10 [117361@199.81.166.149] {Gbld} NEW entry #0
06-Mar-2010 10:39:11 [117361@199.81.166.149] {Gbld} Email from <david.spindler@company.com> to david.spindler@company.com, SMTP host smtp.mail.company.com

 

 

The only idea I have is that your Windows firewall prevents outgoing network traffic on port 25 (SMTP). You should put an exception into the firewall rule. You can try that by opening a DOS box and entering

telnet smtp.mail.company.com 25

if you see a reply, the traffic is allowed. If it blocks, the firewall prevents this kind of traffic.

 I have tried setting up a VM (VMWare) with W2K  and testing it out on both a W2K and WXP host. In both cases the Elog successfully sends emails. I don't know if this helps, or not.

 

The only idea I have is that your Windows firewall prevents outgoing network traffic on port 25 (SMTP). You should put an exception into the firewall rule. You can try that by opening a DOS box and entering

 

telnet smtp.mail.company.com 25

 

 

 

if you see a reply, the traffic is allowed. If it blocks, the firewall prevents this kind of traffic.

 

My apologies. I just realized that my first answer to you was lost. I turned the firewall completely off with no luck. I also tried the telnet and it worked. So, it does not appear to be the firewall. I tried the VM's afterwards. Another puzzle is that the Win2K VM works on a WinXP host. It seems like it is only the WinXP elog that fails. I have tried to obtain some our company's IT help with no luck.

 

 Just an idea: could you try specifying an IP address for your SMTP server instead of smtp.mail.company.com ?

I would also try to make a manual SMTP session to see if that works.

Otherwise, next step would be to create a VM installed with Wireshark to record the network traffic that ELOG generates when it makes the SMTP connection.

Soren

 Thanks, I will give it a try.

 I cannot send an email from elog using an IP address.

I can send an email manually through SMTP.

I will have to locate a copy of wireshark and set up a VM. I cannot access any site that has it from here.

 We will get there. What is the output of "ipconfig /all" of the Win2K and WinXP machines respectively ?

Maxbe the DNS suffix is missing on XP ?

Soren 

 

 

 

Here are the IPCONFIG /ALL pastes:

#1>>>WinXP not running VM:

ipconfig /all

Windows IP Configuration

        Host Name . . . . . . . . . . . . : AOC-117361-W1
        Primary Dns Suffix  . . . . . . . : corp.ds.companyname.com
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No
        DNS Suffix Search List. . . . . . : corp.ds.companyname.com
                                            ds.companyname.com
                                            companyname.com

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Broadcom NetXtreme 57xx Gigabit Cont
roller
        Physical Address. . . . . . . . . : 00-11-43-18-D3-7B
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : ##9.81.166.149
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : ##9.81.166.1
        DNS Servers . . . . . . . . . . . : ##9.81.11.53
                                            ##9.81.7.54

************************************************************************
#2>>>VM Win2K fail to send emails:
ipconfig /All

Windows 2000 IP Configuration

        Host Name . . . . . . . . . . . . : jc_vm_w2k
        Primary DNS Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Broadcast
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No
        DNS Suffix Search List. . . . . . : corp.ds.companyname.com

Ethernet adapter Local Area Connection 2:

        Connection-specific DNS Suffix  . : corp.ds.companyname.com
        Description . . . . . . . . . . . : VMware Accelerated AMD PCNet Adapter

        Physical Address. . . . . . . . . : 00-0C-29-28-24-8F
        DHCP Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : ##9.81.163.127
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : ##9.81.163.1
        DHCP Server . . . . . . . . . . . : ##6.18.71.214
        DNS Servers . . . . . . . . . . . : ##9.81.10.150
                                            ##6.18.71.3
                                            ##9.82.243.70
        Lease Obtained. . . . . . . . . . : Friday, March 19, 2010 8:24:21 AM
        Lease Expires . . . . . . . . . . : Friday, March 19, 2010 12:24:21 PM

*************************************************************************
#3>>>VM Win2K with successful emails:
C:\>ipconfig /all

Windows 2000 IP Configuration

        Host Name . . . . . . . . . . . . : win2k-vm
        Primary DNS Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Broadcast
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No
        DNS Suffix Search List. . . . . . : corp.ds.companyname.com

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . : corp.ds.companyname.com
        Description . . . . . . . . . . . : VMware Accelerated AMD PCNet Adapter

        Physical Address. . . . . . . . . : 00-0C-29-1A-40-F3
        DHCP Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : ##9.81.163.127
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : ##9.81.163.1
        DHCP Server . . . . . . . . . . . : ##6.18.71.214
        DNS Servers . . . . . . . . . . . : ##9.81.10.150
                                            ##6.18.71.3
                                            ##9.82.243.70
        Lease Obtained. . . . . . . . . . : Friday, March 19, 2010 8:32:26 AM
        Lease Expires . . . . . . . . . . : Friday, March 19, 2010 12:32:26 PM
 

 

#1 was the output from the WinXP PC running Elog with no successful emails.

#2 was the output from the Win2K VM running on the #1 PC, also with no successful emails.

#3 was the output from another Win2K VM running on the #1 PC that successfully emails.

 

The difference between the 2 VM's is that #2 has the latest VMWare tools installed and #3 does not. This is running under VMWare Player 3.

 

The DNS suffix is present on the host PC but neither of the VM's, yet one of the VM's works.

 

BTW, thanks for your time in examining this issue.

 BINGO!!

I found the trouble. I assumed it was WinXP but I did not notice that the Win2K PCs I used hadSymantec Corporate AV while the WinXP PCs had McAfee AV. McAfee was the culprit.

 

Thanks very much for all of your help!!!

 A little more info in case anybody else runs into this. McAfee defaults to blocking mass mailing worms, or at least our IT department has it doing so. Turn this off and the email from Elog works.

ELOG V3.1.5-3fb85fa6