6
smartermail 15 delivery report error
Problem reported by Radhika Reddy - April 9, 2016 at 1:33 AM
Resolved
Hello,
 
I have just upgrade smartermail 14.3 to 15 version. Now the delivery log indicate some errors
 
The process cannot access the file 'E:\SmarterMail\Spool\SubSpool0\40032019.eml' because it is being used by another process.
[2016.04.09]    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
[2016.04.09]    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
[2016.04.09]    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
[2016.04.09]    at SmarterTools.SmarterMail.Mime.MimeReader.#6E()
[2016.04.09]    at SmarterTools.SmarterMail.Mime.MimeReader.get_Header()
[2016.04.09]    at RelayServer.DeliveryManager.#hBb()
[2016.04.09]    at RelayServer.DeliveryManager.ProcessSpoolMessages()
 
Thanks
Binesh

7 Replies

Reply to Thread
0
Bruce Barnes Replied
April 9, 2016 at 5:56 AM
Do you have anti-virus software installed? If so, have you excluded all of the SmarterMail directories? The only thing that should ever access SmarterMail is SmarterMail.
Bruce Barnes
ChicagoNetTech Inc

Phone: (224) 444-0169

E-Mail and DNS Security Specialist
Network Security Specialist

Customer Service Portal: https://portal.chicagonettech.com
Website: https://www.ChicagoNetTech.com
Security Blog: http://networkbastion.blogspot.com/

Web and E-Mail Hosting, E-Mail Security and Consulting
0
Bruce Barnes Replied
April 9, 2016 at 9:36 AM
Both the SmarterMail directory, and the SmarterMail program directory. They should never be accessed by any other programs.
Bruce Barnes
ChicagoNetTech Inc

Phone: (224) 444-0169

E-Mail and DNS Security Specialist
Network Security Specialist

Customer Service Portal: https://portal.chicagonettech.com
Website: https://www.ChicagoNetTech.com
Security Blog: http://networkbastion.blogspot.com/

Web and E-Mail Hosting, E-Mail Security and Consulting
1
Elazar Broad Replied
April 12, 2016 at 8:45 AM
Seeing this as well on SM 15. I have exclusions for the entire SmarterMail folder in my anti-virus and I disabled it completely just to be sure while testing. The message does ultimately get delivered though. Looks like an intermittent race condition...
 
11:34:08 [89981] Delivery started for <remote sender> at 11:34:08 AM
11:34:08 Exception: Could not find file 'path\to\smartermail\Spool\SubSpool5\404289689981.eml'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at SmarterTools.SmarterMail.Mime.MimeReader.#6E()
   at SmarterTools.SmarterMail.Mime.MimeReader.get_Header()
   at RelayServer.DeliveryManager.#hBb()
   at RelayServer.DeliveryManager.ProcessSpoolMessages()
11:34:22 [89981] Spam check results: [lots of spam filtering]
11:34:23 [89981] Starting local delivery to <local recipient>
11:34:23 [89981] Delivery for <remote sender> to <local recipient> has completed (Delivered) Filter: None
0
Ed Welch Replied
May 9, 2016 at 7:41 AM
I'm seeing a variation of this which began after upgrading from 14.5 to 15.0.5962.  The SmarterMail directory had always been excluded from virus scanning, however as a test I disabled antivirus completely and the errors continue.  However, the emails are spam checked and properly delivered following this.
 
[2016.05.09] 10:07:58 [10042] Error adding message to spool stat tracker: The process cannot access the file 'd:\SmarterMail\Spool\SubSpool5\53110042.eml' because it is being used by another process.
[2016.05.09]    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
[2016.05.09]    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
[2016.05.09]    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
0
Patrick Kraus Replied
May 10, 2016 at 12:38 PM
We are seeing this as well since updating to 15.0.5962. Antivirus has always been excluded from the smartermail directories. At least every second mail in the spool is being affected.
 
As mentioned above, we too have disabled antivirus totally and the problem persists. We have completely uninstalled and reinstalled and still no change.
2
Stuart Rowbotham Replied
May 12, 2016 at 5:07 AM
We are seeing the same issue since update last night can anyone advise if its safe to downgrade ? and which version to downgrade to, we also do not use AV on our server so that can not be the issue.
2
Matt Petty Replied
May 12, 2016 at 4:21 PM
Employee Post
We just released a 15 update that should fix this issue. If not please report it here and I can investigate it further.
Matt Petty
Software Developer
SmarterTools Inc.
(877) 357-6278
www.smartertools.com

Reply to Thread