Solved

ColdFusion 9 suddenly stopped sending email to Exchange 2007

Posted on 2014-01-20
4
455 Views
Last Modified: 2014-01-26
I recently became aware that my CF9 is no longer sending email to E2K7.  My exchange SSL cert expired and I didn't catch it for 2 days.  I renewed it and got it installed last night, so I thought email would start working again.  It has not, which makes me think it wasn't the cert expiring.  Here is what is happening/not happening:

I send an email using CF
CF mailsent log shows email sent successfully
Exchange message tracking log does not show any email activity
In CF admin, I verify mail server connection, comes back successful.
Sending & receiving in OWA works perfectly

I'm not sure what else to check.  Things have always worked fine.  CF reports sending the mail, but it never really makes it, as the Exchange server never shows any activity from the CF sent mail.

Can someone help me figure out what to check next?  Could a recent windows update have broken something?  Some new CF update I need perhaps?  I'm at a loss.
0
Comment
Question by:theamzngq
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 52

Expert Comment

by:_agx_
ID: 39797012
(No points ...I don't know the answer)

In the mean time one additional troubleshooting step you could try is to enable debugging, ie debug="yes". Perhaps you will find something unusual in the logs. If not, you'll at least have very detailed info about the actual communication between the mail servers to use for additional troubleshooting.
Best of luck!

Important notes about using debug from the docs:

debug=yes: sends debugging output to standard output. By default, if the console window is unavailable, ColdFusion sends output to cf_root\runtime\logs\coldfusion-out.log on server configurations. On J2EE configurations, with JRun, the default location is jrun_home/logs/servername-out.log. Caution: If you set this option to yes, ColdFusion writes detailed debugging information to the log, including all message contents, and can generate large logs quickly.
0
 
LVL 2

Accepted Solution

by:
theamzngq earned 0 total points
ID: 39797696
I was able to figure out the issue.  The thing that led to the solution was an event viewer log entry:

Event ID: 12014
Microsoft Exchange could not find a certificate that contains the domain name xxxx.com in the personal store on the local computer. Therefore, it is unable to support the STARTTLS SMTP verb for the connector  with a FQDN parameter of xxxx.com. If the connector's FQDN is not specified, the computer's FQDN is used. Verify the connector configuration and the installed certificates to make sure that there is a certificate with a domain name for that FQDN. If this certificate exists, run Enable-ExchangeCertificate -Services SMTP to make sure that the Microsoft Exchange Transport service has access to the certificate key.

Apparently I had two copies of the cert loaded (which I could see listed after issuing the command Get-ExchangeCertificate in the EMS).  This was preventing the SMTP connector from starting.  So, CF was sending the email successfully, it was just dying somewhere in the middle of the Exchange server.  I opened an MMC window and loaded the Certificates snap-in, then deleted the extraneous cert under the Personal folder.  Email started sending immediately after that.
0
 
LVL 52

Expert Comment

by:_agx_
ID: 39797743
Great! Glad you solved it, and thanks for posting the resolution! .

(Don't forget to mark your comment as the answer to close out the thread).
0
 
LVL 2

Author Closing Comment

by:theamzngq
ID: 39809831
I solved it myself
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
CFGRID Custom Functionality Series -  Part 1 Hi Guys, I was once asked how it is possible to to add a hyperlink in the cfgrid and open the window to show the data. Now this is quite simple, I have to use the EXT JS library for this and I achiev…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question