Link to home
Start Free TrialLog in
Avatar of SDSAIT
SDSAIT

asked on

coldfusion 4.51 server wont connect to IIS smtp mail server

experts,

I have a Windows 2003 server that publishes our website using IIS 6.  Its been running fine for years.  Starting on 06-25-09 we stopped receiving emails from the contact form on the website.  This Windows server also is running Coldfusion Server 4.51 (i know, its old) which sends mail from the CF forms on the web site to the IIS SMTP mail server thats on the same box.

The CF Mail Log says:
Error","TID=1796","07/02/09","15:43:07","Failed to send the spooled mail file, E:\CFUSION\MAIL\spool\8.cfmail. SMTP server replied "Unable to connect to mail server." Moved file to E:\CFUSION\MAIL\undelivr\24.cfmail."

The message sits in this folder: E:\CFUSION\MAIL\SPOOL and eventually goes to the CF undeliverable folder.  Unless i restart all 3 CF services (Application Server, Executive & RDS).  Then it will process any mail that its been holding but wont send anymore until i restart the services again or reboot.

This all worked fine a week ago.  There were 2 security updates from Microsoft on the day it stopped working, KB961063 - DNS patch and KB963707 - .Net 3.5 update.  I uninstalled both of those and cold booted the server but it does the same thing.  If I go into the CF Admin and have it verify the mail server connections it verifies ok?!?!

Also this same server has a few scripts that monitor folders and send out emails when a file is dropped in them.  All of those emails continue to work fine with the same SMTP server being used and the same recipients.

I dont know what to look for next.  any ideas?

thanks,

arlie
Avatar of meverest
meverest
Flag of Australia image

Hi,

so you say that some emails work and some don't?  check that all the text lines in the emails are short (less than 256 characters) - might be a line length limit thing.

Cheers,
Avatar of SDSAIT
SDSAIT

ASKER

The text lines are well short of 255 bytes.  None of the content was changed since before it stopped working.  The messages that still work are the ones that our VB scripts generate.  All of the email generated by Coldfusion are now failing.  I'm thinking about reinstalling Coldfusion.
 
what does the coldfusion mail log show?

cheers.
Avatar of SDSAIT

ASKER

The log says:
The CF Mail Log says:
Error","TID=1796","07/02/09","15:43:07","Failed to send the spooled mail file, E:\CFUSION\MAIL\spool\8.cfmail. SMTP server replied "Unable to connect to mail server." Moved file to E:\CFUSION\MAIL\undelivr\24.cfmail."

for every failed message.  The log says it cant connect to the mail server but in the CF Administraor screen, I can click on the "verify" button and it says it connected.
 
oh yeah - you already said that! :-}

maybe it could be a DNS resolver issue - try replacing the mail server hostname with the server IP address in CF config.

Cheers.
Avatar of SDSAIT

ASKER

it fails with IP #s  and with host names.  I think i'm going to re-install coldfusion this weekend.    I'll let you know how it comes out.  thanks
Hi,

that's a good idea.  now that I look back over this discussion and see CF4.51, I seem to recall having similar trouble myself with that version.

while you are doing a reinstall, it may be a good time to upgrade.

Cheers!
Avatar of SDSAIT

ASKER

ok, reinstalling CF did not fix the problem.  It apperars to be related to the KB963707 - .Net 3.5 update that was downloaded by Microsoft Upates on 06/25.  That update and another were downloaded at 2:00am on the 25th.  The Event Viewer on the web server shows the CF server restarting at 2:10.  According to the CF mail log, after that the emails stoped working.  We have a test server that is a copy of the prod server.  That server had all of the updates except the .NET 3.5 SP and that server continues to function correctly, email and all.  So i'm thinking about moving the web site to the test server and making it the prod server.  its a quick & dirty way of maybe getting functionality back.  Then maybe troubleshoot the trouble server off-line.
Thanks for your input meverest.  If nobody responds with a good fix i'll be back to give you the points.
ASKER CERTIFIED SOLUTION
Avatar of meverest
meverest
Flag of Australia 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
Avatar of SDSAIT

ASKER

thanks meverest.  its still 4.51 sp 2.  i'm not going to get to upgrade.  i still havent fixed this.  I'm moving the web site to another server.  I may get a chance to investigate further.

thanks