6
smartermail 15 delivery report error
Problem reported by CTL - 4/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

20 Replies

Reply to Thread
0
Bruce Barnes Replied
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 brucecnt@comcast.net Phonr: (773) 491-9019 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
CTL Replied
Yes I have server side antivirus symantec , smartermail antivirus calmav and Cyren Zero-hour

Which antivirus I have exclude smatermail directory

Thanks
Binesh
0
Bruce Barnes Replied
Both the SmarterMail directory, and the SmarterMail program directory. They should never be accessed by any other programs.
Bruce Barnes ChicagoNetTech Inc brucecnt@comcast.net Phonr: (773) 491-9019 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
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
CTL Replied
I have found another antivirus error

2016.04.13] 08:55:45 Cyren ran into an error scanning a message.
[2016.04.13] 08:55:45 [76148] Unable to run Commtouch check: Exception while processing message: 76148, Exception: Object reference not set to an instance of an object.

[2016.04.13] 07:52:07 Cyren ran into an error scanning a message.
[2016.04.13] 07:52:07 [76117] Unable to run Commtouch check: System.Runtime.InteropServices.COMException (0x80041006): HttpError: 500
[2016.04.13] at ASAPCOMLib.IASAPMain.ClassifyMessage(ASAPMessage Message, Int32 DoDetect)
[2016.04.13] at Commtouch.CommtouchClientInterface.ProcessMessage(String messagePath, String senderAddress, String senderIP, String[] localRecipients, String[] remoteRecipients, CommtouchSettings commtouchSettings)

Seems like the issue with SM antivirus ?
0
Matt Petty Replied
Employee Post
Cyren is having issues right now. There is a community post with the service report, https://portal.smartertools.com/community/a87735/cyren-service-having-intermittent-issues-4-13-2016.aspx.
Matt Petty Software Developer SmarterTools Inc. (877) 357-6278 www.smartertools.com
0
Ed Welch Replied
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
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
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.
0
Matt Petty Replied
Employee Post
We will be doing a release today to resolve issues with this. I believe our latest release also has some fixes for it as well. What version are you on right now?
Matt Petty Software Developer SmarterTools Inc. (877) 357-6278 www.smartertools.com
0
Stuart Rowbotham Replied
SmarterMail Version - 15.0.5962 currently installed
0
Matt Petty Replied
Employee Post
I'd give the release we got coming soon a try. This is an issue caused by the grabbing of stats from messages as they pass through the spool. One part of SmarterMail is trying to access the file (to grab stats for the spool dashboard) and the other is the delivery process. Sometimes this will cause the error below.
The process cannot access the file 'E:\SmarterMail\Spool\SubSpool0\40032019.eml' because it is being used by another process.
Matt Petty Software Developer SmarterTools Inc. (877) 357-6278 www.smartertools.com
0
Matt Petty Replied
Employee Post
I can make a post here when we release it.
Matt Petty Software Developer SmarterTools Inc. (877) 357-6278 www.smartertools.com
0
Ed Welch Replied
Thanks, Matt. we are using 15.0.5962 also.
0
Al Dioni Replied
The same here, latest version 15.0.5962
2
Matt Petty Replied
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
0
Stuart Rowbotham Replied
Update seems to have worked this end, thanks for the prompt response.
0
Ed Welch Replied
Upgraded last evening around 10 PM EDT. Logs show no errors since then.
0
Andrew Lupton Replied
I just upgraded to SM 16.3.6642 and just started getting these too...
[2018.03.13] 14:44:10 [58884] The process cannot access the file 'F:\SmarterMail\Spool\SubSpool6\2695xxxx.eml' because it is being used by another process.
[2018.03.13]    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)   at System.IO.File.InternalDelete(String path, Boolean checkHost)   at RelayServer.DeliveryManager.#4Eb(SpoolMessage #Nrb)
Disk is not full. OS level Antivirus is not scanning SM directories.
0
Colton Morrison Replied
I had the same issue as well with SM 15.7.6638 on the first time I installed it as an upgrade (followed the correct uninstall prev. version procedure).
 
To fix it: We uninstalled/reinstalled the same version and then Cyren/Commtouch started scoring spam correctly again.

Reply to Thread