Hi Bruce,
according to your reply I installed ProcessMonitor
https://technet.microsoft.com/de-de/sysinternals/bb896645.aspx to check if other applications maybe accessing the SmarterMail files. But it's only the SmarterMail Service involved. Also I stopped the replication on the storage server. After that I did another test with my mass mailing script:
Now the delivery stopped when the grp file was 2.500.077 KB. I restarted the SmarterMail service and now I see several errors of this type in the delivery log:
[2015.10.21] 18:17:38 [82305] Starting local delivery to user@domain.tld
[2015.10.21] 18:17:38 [82305] Exception: An attempt was made to move the file pointer before the beginning of the file.
[2015.10.21]
[2015.10.21] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
[2015.10.21] at System.IO.FileStream.SeekCore(Int64 offset, SeekOrigin origin)
[2015.10.21] at System.IO.FileStream.Seek(Int64 offset, SeekOrigin origin)
[2015.10.21] at MailStore.GroupFileAccess.GroupFile.AddHeaderItemAlreadyLocked(UInt32 uid, BinaryWriter bw)
[2015.10.21] at MailStore.GroupFileAccess.GroupFile.AddMessage(String #Lrb, UInt32 #q9, Boolean #Psb, String& #Qsb, Int32& #9r)
[2015.10.21] at MailStore.GroupFileAccess.GroupFile.Add(String emailFilePath, UInt32 uid, Boolean wait, String& headerText, Int32& size)
[2015.10.21] at MailStore.Mailboxes.Mailbox.AddMessage(String messagePath, MessageFlags flags, Int32 size, String& headerText, String& failureReason)
[2015.10.21] at MailStore.Mailboxes.MailboxManager.#eEb(String #c1i, String #90i, MessageFlags #Yu, Int32 #9r, Boolean #T9, String& #Qsb, String& #Jwi)
[2015.10.21] at MailStore.Mailboxes.MailboxManager.AddMessage(String messagePath, String subFolderName, MessageFlags flags, Int32 size, Boolean createMailbox, String& headerText, String& failureReason)
[2015.10.21] at RelayServer.DeliveryManager.#DEb(LocalRecipient #w5i, MimeReader #ABb, String #Qsb, String #4Db, String #3n, Boolean #x5i, Boolean #y5i)
[2015.10.21] at RelayServer.DeliveryManager.#xEb(SpoolMessage #Nrb, LocalRecipient #w5i, String #4Db, Boolean #x5i, Boolean #y5i)
[2015.10.21] at RelayServer.DeliveryManager.#SBb(SpoolMessage #Nrb)