CFMAIL messages wrongly moved to Undelivr Folder
I'm experiencing a problem with CF2018. We would randomly get messages moved into the Undelivr folder, around 4-5 a day. The sample is a message that was actually delivered and received by the recipient but it was logged as below. This has caused much confusion on what is actually NOT sent. Also when we have attachements that fall in the Undelivr folder they cannot be requeued in anyway since the atachment is removed after it gets into the Undelivr folder.
Mail.log:
"Error","scheduler-1","02/03/21","14:36:39","","com.sun.mail.smtp.SMTPSendFailedException: 250 2.0.0 113JadXw020604 Message accepted for delivery ; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 <test>... User unknown "
Mailsent.log:
"Information","scheduler-1","02/03/21","14:36:39","","Moved undelivered mail: Mail12193529479958483137.cfmail to D:\ColdFusion2018\cfusion/Mail/Undelivr directory"
exception.log
"Error","scheduler-1","02/03/21","14:36:39","","com.sun.mail.smtp.SMTPSendFailedException: 250 2.0.0 113JadXw020604 Message accepted for delivery ; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 <test>... User unknown "
com.sun.mail.smtp.SMTPSendFailedException: 250 2.0.0 113JadXw020604 Message accepted for delivery
;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 <test>... User unknown
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1328)
at coldfusion.mail.MailSpooler.sendMessage(MailSpooler.java:1541)
at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:1354)
at coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:1251)
at coldfusion.mail.MailSpooler.deliverStandard(MailSpooler.java:1690)
at coldfusion.mail.MailSpooler.run(MailSpooler.java:1655)
at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:260)
at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71)
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 <test>... User unknown
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1932)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1301)
... 7 more
This is occurring everyday at random times with a few messages (4-5).
How do I stop CF from moving into the Undelivr folder if an email is actually sent out? Also how can I capture the attachemnt so it can be requeued instead of having to figure out who sent it and have them resent it with the attachment? Is there any options for this?
CF2018 Standard Edition
Version: 2018.0.10.320417
Windows Server 2016
Java Version 10.0.1
Java VM v10.0.1+10
Thank You.
Kurtis
