David D
Guest
|
Posted:
Wed Jan 12, 2005 4:24 am Post subject:
Do not use SMTP virtual server in XP embedded |
|
|
I have been spending quite a bit of time resolving an issue with XP embedded
related to the SMTP server that is built into XP embedded as well as XP pro.
Turns out that MS has admitted there is a bug related to the SMTP server.
Basically, the bug is that when sending out an email, the SMTP server sends
out a UDP message to the DNS server to resolve the mail exchange IP for the
email address.
Well, if there is no response to the UDP message then XP will halt sending
any more emails to that mail exchange forever until you either reboot or
stop and restart the mail service.
Initially I found this problem when using an SMC router where the SMC router
randomly fails to respond to a DNS query. Later switching Routers I found
that this is a univeral problem because once the DSL connection goes down to
the Router, this scenerio will happen anyway.
Basically to get email working again we have to reboot. Not a reliable
solution.
I just could not believe that I was the first to report it. Maybe others ran
into this and found a way around it but I have to do something different.
My patch solution was to manually do an NSLOOKUP on the mail exchange but
the problem still exists where if the DSL is down, upon a retry, the SMTP
server will not reach the mail server and thus fail to make the connection.
I am now looking into just finding another SMTP server or maybe see if I can
tell if the mail queue is backed up and then restart the service.
I just wanted to know if anyone else is sending emails out from thier
Embedded equipment using the SMTP server vs trying to connect to an ISP to
use an external mail server. The advantage we had in using the built in SMTP
virtual server was that no one was going to have to have an external account
that they were going to have to configure and fight with.
So, anyone else out there using the SMTP server in XPe? |
|