Solved

ColdFusion 9 suddenly stopped sending email to Exchange 2007

Posted on 2014-01-20
4
431 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
  • 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

Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

Question has a verified solution.

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

Suggested Solutions

PROBLEM: How to add your own buttons to the bottom toolbar with paging info ( result count ). While creating a cfgrid, I ran into an issue where I wanted to embed my own custom buttons where the default ones ( insert / delete / etc… ) are for aes…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

867 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now