Imap clients not receive emails

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
s1313
New user
New user
Posts: 4
Joined: 2024-09-26 12:04

Imap clients not receive emails

Post by s1313 » 2024-09-26 12:14

Hello everyone, We have been using hmailserver to work with mail for a long time. In the last week, we have often seen cases when email clients do not receive emails via imap. We use outlook and thunderbird in our work.
After restarting the mail client, the emails arrive. After pressing the resume/start button in the "status" menu, emails also begin to arrive.
Sending emails happens without problems. Also, emails come to roundcube immediately. That is, the problem is only working with mail via imap.
What can be done to fix the problem?

palinka
Senior user
Senior user
Posts: 4748
Joined: 2017-09-12 17:57

Re: Imap clients not receive emails

Post by palinka » 2024-09-27 06:45

Roundcube is also a IMAP client. The issue has something to do with thunderbird. Try upgrading (or downgrading) to a version that doesn't have this issue.

s1313
New user
New user
Posts: 4
Joined: 2024-09-26 12:04

Re: Imap clients not receive emails

Post by s1313 » 2024-09-27 21:13

Downgrading thunderbird did not solve the problem. The log is full of errors

"ERROR" 7276 "2024-09-27 00:06:53.307" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask', Message: bad allocation"
"ERROR" 980 "2024-09-27 00:06:56.517" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data length: 53, Data: AH13 UID FETCH 9037 (UID BODY.PEEK[1]<393216.393216>). Remote IP: xx.xx.xxx.xxx"
"ERROR" 980 "2024-09-27 00:06:56.518" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask', Message: bad allocation"
"ERROR" 980 "2024-09-27 00:06:59.481" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data length: 53, Data: AI14 UID FETCH 9037 (UID BODY.PEEK[1]<393216.393216>). Remote IP: xx.xx.xxx.xxx"
"ERROR" 980 "2024-09-27 00:06:59.482" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask', Message: bad allocation"
"ERROR" 8668 "2024-09-27 00:07:03.424" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data length: 53, Data: AJ14 UID FETCH 9037 (UID BODY.PEEK[1]<393216.393216>). Remote IP: xx.xx.xxx.xxx"
"ERROR" 8668 "2024-09-27 00:07:03.425" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask', Message: bad allocation"

Looking for a solution further

User avatar
RvdH
Senior user
Senior user
Posts: 3560
Joined: 2008-06-27 14:42
Location: The Netherlands

Re: Imap clients not receive emails

Post by RvdH » 2024-09-28 20:41

s1313 wrote:
2024-09-27 21:13
Downgrading thunderbird did not solve the problem. The log is full of errors

"ERROR" 7276 "2024-09-27 00:06:53.307" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask', Message: bad allocation"
"ERROR" 980 "2024-09-27 00:06:56.517" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data length: 53, Data: AH13 UID FETCH 9037 (UID BODY.PEEK[1]<393216.393216>). Remote IP: xx.xx.xxx.xxx"
"ERROR" 980 "2024-09-27 00:06:56.518" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask', Message: bad allocation"
"ERROR" 980 "2024-09-27 00:06:59.481" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data length: 53, Data: AI14 UID FETCH 9037 (UID BODY.PEEK[1]<393216.393216>). Remote IP: xx.xx.xxx.xxx"
"ERROR" 980 "2024-09-27 00:06:59.482" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask', Message: bad allocation"
"ERROR" 8668 "2024-09-27 00:07:03.424" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data length: 53, Data: AJ14 UID FETCH 9037 (UID BODY.PEEK[1]<393216.393216>). Remote IP: xx.xx.xxx.xxx"
"ERROR" 8668 "2024-09-27 00:07:03.425" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask', Message: bad allocation"

Looking for a solution further
Are you sure that isn't anyone's iPhone?
Seen similar report involving (buggy) IOS 18 clients

viewtopic.php?f=7&t=42197
viewtopic.php?f=7&t=36754
CIDR to RegEx: d-fault.nl/cidrtoregex
DNS Lookup: d-fault.nl/dnstools
DKIM Generator: d-fault.nl/dkimgenerator
DNSBL Lookup: d-fault.nl/dnsbllookup
GEOIP Lookup: d-fault.nl/geoiplookup

infohmail
New user
New user
Posts: 19
Joined: 2015-03-11 14:47

Re: Imap clients not receive emails

Post by infohmail » 2024-09-30 09:31

Hi, we have same issue (in our case we think is related to latest iphone, but not sure 100%).

In the Log: "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data length: 52, Data: A51 UID FETCH 4472 (UID BODY.PEEK[]<9043968.393216>). Remote IP: xxx.xx.xx.xxx" followed by "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask', Message: bad allocation". And for each a minidump. Every day we get from 20 to 50 errors.

Is started with 32bit standard version of hm and is still present in latest version 5.7.0-B2643.15-OpenSSL-3.0.15-Experimental installed three days ago.

Thank you man!

User avatar
RvdH
Senior user
Senior user
Posts: 3560
Joined: 2008-06-27 14:42
Location: The Netherlands

Re: Imap clients not receive emails

Post by RvdH » 2024-09-30 12:07

Not sure if it is helpful, seems like a simple collection of proposed workarounds posted in Mail not working on iPhone after iOS 18 Update thread on apple Community, but it can be found here: https://pcglance.com/fix-mail-app-issue ... to-ios-18/

Particular interested in this, someone says:
I added / (forward slash) in the IMAP Path Prefix field in IMAP account ( settings > Apps > Mail ) as suggested here in step 5 : 8 Steps to Fix Mail App Issues After Updating to iOS 18 and the issue is now resolved.
CIDR to RegEx: d-fault.nl/cidrtoregex
DNS Lookup: d-fault.nl/dnstools
DKIM Generator: d-fault.nl/dkimgenerator
DNSBL Lookup: d-fault.nl/dnsbllookup
GEOIP Lookup: d-fault.nl/geoiplookup

User avatar
RvdH
Senior user
Senior user
Posts: 3560
Joined: 2008-06-27 14:42
Location: The Netherlands

Re: Imap clients not receive emails

Post by RvdH » 2024-09-30 13:45

RvdH wrote:
2024-09-30 12:07
Not sure if it is helpful, seems like a simple collection of proposed workarounds posted in Mail not working on iPhone after iOS 18 Update thread on apple Community, but it can be found here: https://pcglance.com/fix-mail-app-issue ... to-ios-18/

Particular interested in this, someone says:
I added / (forward slash) in the IMAP Path Prefix field in IMAP account ( settings > Apps > Mail ) as suggested here in step 5 : 8 Steps to Fix Mail App Issues After Updating to iOS 18 and the issue is now resolved.
And if that is a solution to the issue, what happens when you change hMailserver's default hierarchy delimiter from '.' to '/'
https://www.hmailserver.com/documentati ... otocolimap
CIDR to RegEx: d-fault.nl/cidrtoregex
DNS Lookup: d-fault.nl/dnstools
DKIM Generator: d-fault.nl/dkimgenerator
DNSBL Lookup: d-fault.nl/dnsbllookup
GEOIP Lookup: d-fault.nl/geoiplookup

infohmail
New user
New user
Posts: 19
Joined: 2015-03-11 14:47

Re: Imap clients not receive emails

Post by infohmail » 2024-09-30 17:04

I tried to change the value server side, but hm warning with an error 'it was not possible to change the IMAP hierarchy delimiter. It has probably failed because there exists one or more IMAP folders containing the new character' without no folder's list so I cannot verify where are.
Attachments
fail.png
fail.png (4.01 KiB) Viewed 27277 times

User avatar
RvdH
Senior user
Senior user
Posts: 3560
Joined: 2008-06-27 14:42
Location: The Netherlands

Re: Imap clients not receive emails

Post by RvdH » 2024-09-30 17:13

The message itself is pretty much self-explanatory, not?
There exists minimal one IMAP folder that has '/' (forward slash) in it's folder name, meaning you cannot use the '/' (forward slash) as hierarchy delimiter

Furthermore i suggested that could be a solution, if en when that fixes the IOS 18 issues....so you should preferably first check if that solves anything on the client side before even try changing that server side
CIDR to RegEx: d-fault.nl/cidrtoregex
DNS Lookup: d-fault.nl/dnstools
DKIM Generator: d-fault.nl/dkimgenerator
DNSBL Lookup: d-fault.nl/dnsbllookup
GEOIP Lookup: d-fault.nl/geoiplookup

infohmail
New user
New user
Posts: 19
Joined: 2015-03-11 14:47

Re: Imap clients not receive emails

Post by infohmail » 2024-10-01 09:00

Yes I know that, but I can't change the settings on the customers' iPhones... So I looked in hm_imapfolders and there are some folder with / in name and stop everything. I'll wait some news.

sri_elgora
New user
New user
Posts: 12
Joined: 2024-10-01 13:24

Re: Imap clients not receive emails

Post by sri_elgora » 2024-10-04 09:17

We have the same issues since IOS 18 was released and I can see in the logs that IOS 18 devices are causing the issues

Code: Select all

"APPLICATION"	5592	"2024-10-04 08:10:32.107"	"OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"APPLICATION"	5592	"2024-10-04 08:10:32.107"	"OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"APPLICATION"	5592	"2024-10-04 08:10:32.107"	"OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"ERROR"	5592	"2024-10-04 08:10:32.107"	"Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data length: 55, Data: U22 UID FETCH 85999 (UID BODY.PEEK[1.1]<393216.393216>). Remote IP: x.x.x.x"
"ERROR"	5592	"2024-10-04 08:10:32.123"	"Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask', Message: bad allocation"
"ERROR"	5592	"2024-10-04 08:10:32.237"	"Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\Program Files (x86)\hMailServer\Logs\minidump_2024-10-04 081032_{AFD649E3-4918-43F2-8A52-E708E439AF00}.dmp"
What I tried so far and DID NOT WORK:

- Correcting imap folders with invalid parent_id (=0)
- 4GB Path Patch
- Upgrade hMailServer to 5.7.x
- Changing the IMAP path delimitter from "." to "/"

IOS 18.0.1 is out since a few hours now.
I installed it and my device did not cause the problem so far, but of course it is a bit early.
I will give an update later.

User avatar
RvdH
Senior user
Senior user
Posts: 3560
Joined: 2008-06-27 14:42
Location: The Netherlands

Re: Imap clients not receive emails

Post by RvdH » 2024-10-04 10:42

sri_elgora wrote:
2024-10-04 09:17
We have the same issues since IOS 18 was released and I can see in the logs that IOS 18 devices are causing the issues

Code: Select all

"APPLICATION"	5592	"2024-10-04 08:10:32.107"	"OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"APPLICATION"	5592	"2024-10-04 08:10:32.107"	"OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"APPLICATION"	5592	"2024-10-04 08:10:32.107"	"OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"ERROR"	5592	"2024-10-04 08:10:32.107"	"Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data length: 55, Data: U22 UID FETCH 85999 (UID BODY.PEEK[1.1]<393216.393216>). Remote IP: x.x.x.x"
"ERROR"	5592	"2024-10-04 08:10:32.123"	"Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask', Message: bad allocation"
"ERROR"	5592	"2024-10-04 08:10:32.237"	"Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\Program Files (x86)\hMailServer\Logs\minidump_2024-10-04 081032_{AFD649E3-4918-43F2-8A52-E708E439AF00}.dmp"
What I tried so far and DID NOT WORK:

- Correcting imap folders with invalid parent_id (=0)
- 4GB Path Patch
- Upgrade hMailServer to 5.7.x
- Changing the IMAP path delimitter from "." to "/"

IOS 18.0.1 is out since a few hours now.
I installed it and my device did not cause the problem so far, but of course it is a bit early.
I will give an update later.
As far i can see the IOS 18.0.1 release is mentioned to have a fix for Mail app
https://www.heise.de/en/news/iOS-18-0-1 ... 55350.html

And the article explaining the initial bug
https://www.heise.de/en/news/iOS-18-and ... 52771.html
CIDR to RegEx: d-fault.nl/cidrtoregex
DNS Lookup: d-fault.nl/dnstools
DKIM Generator: d-fault.nl/dkimgenerator
DNSBL Lookup: d-fault.nl/dnsbllookup
GEOIP Lookup: d-fault.nl/geoiplookup

gotspatel
Senior user
Senior user
Posts: 421
Joined: 2013-10-08 05:42
Location: INDIA

Re: Imap clients not receive emails

Post by gotspatel » 2024-10-04 12:09

:oops: NOPE

Problem still stays after update of IOS to 18.0.1

Code: Select all

"ERROR"	1772	"2024-10-04 15:32:59.432"	"Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data length: 53, Data: A36 UID FETCH 12578 (UID BODY.PEEK[1]<393216.393216>). Remote IP: 192.168.XXX.XX"
"ERROR"	1772	"2024-10-04 15:33:00.333"	"Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask', Message: bad allocation"
"ERROR"	1772	"2024-10-04 15:33:11.148"	"Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to D:\hMailServer\Logs\minidump_2024-10-04 153301_{845F423C-923D-4BC3-B6DA-74C0AA7E7FF0}.dmp"
"ERROR"	9400	"2024-10-04 15:33:28.182"	"Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data length: 55, Data: B45 UID FETCH 10103 (UID BODY.PEEK[1.1]<393216.393216>). Remote IP: 192.168.XXX.XX"
"ERROR"	9400	"2024-10-04 15:33:28.267"	"Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask', Message: bad allocation"
"ERROR"	9400	"2024-10-04 15:33:28.961"	"Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to D:\hMailServer\Logs\minidump_2024-10-04 153328_{F3C00039-5631-45C1-94C6-BF8F2AFB8B1B}.dmp"
"ERROR"	12436	"2024-10-04 15:35:53.077"	"Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data length: 53, Data: E25 UID FETCH 11542 (UID BODY.PEEK[1]<393216.393216>). Remote IP: 106.XXX.XX.XXX"
"ERROR"	12436	"2024-10-04 15:35:53.188"	"Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask', Message: bad allocation"
"ERROR"	12436	"2024-10-04 15:35:54.679"	"Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to D:\hMailServer\Logs\minidump_2024-10-04 153553_{C85864F4-717D-4FDF-B65F-309CB84C425E}.dmp"
I tried removing the account and changing the delimiter AGAIN after update to 18.0.1 but still the same Icrap Device :lol:

I really is giving me nightmares :roll:

s1313
New user
New user
Posts: 4
Joined: 2024-09-26 12:04

Re: Imap clients not receive emails

Post by s1313 » 2024-10-04 14:26

Two users are using Apple mail iOS 18. On their devices, mail refuses to work at all. Outlook on the iPhone is still used as a workaround.
iOS 17 users have no problems.
As a temporary solution, I use restarting mail using the VBS script and Windows Task Scheduler.

User avatar
johang
Senior user
Senior user
Posts: 1189
Joined: 2008-09-01 09:20
Location: sweden

Re: Imap clients not receive emails

Post by johang » 2024-10-04 20:58

s1313 wrote:
2024-10-04 14:26
As a temporary solution, I use restarting mail using the VBS script and Windows Task Scheduler.
perhaps try an imap proxy

viewtopic.php?f=7&t=41218&p=253462#p250312
lets cheat darwin out of his legacy, find a cure for cancer...

User avatar
RvdH
Senior user
Senior user
Posts: 3560
Joined: 2008-06-27 14:42
Location: The Netherlands

Re: Imap clients not receive emails

Post by RvdH » 2024-10-05 00:56

johang wrote:
2024-10-04 20:58
s1313 wrote:
2024-10-04 14:26
As a temporary solution, I use restarting mail using the VBS script and Windows Task Scheduler.
perhaps try an imap proxy

viewtopic.php?f=7&t=41218&p=253462#p250312
Not going to help if the issue is the client (like IOS 18.0.x in this case, it has issues on ALL platforms)
But also here the amount of complaints since IOS 18.0.x has quadrupled, eg: lots of statements saying since a few weeks etc
CIDR to RegEx: d-fault.nl/cidrtoregex
DNS Lookup: d-fault.nl/dnstools
DKIM Generator: d-fault.nl/dkimgenerator
DNSBL Lookup: d-fault.nl/dnsbllookup
GEOIP Lookup: d-fault.nl/geoiplookup

User avatar
johang
Senior user
Senior user
Posts: 1189
Joined: 2008-09-01 09:20
Location: sweden

Re: Imap clients not receive emails

Post by johang » 2024-10-05 13:31

please all with ios 18 problems.. in lack of better place report directly to Apple for instance here https://www.apple.com/feedback/iphone/
lets cheat darwin out of his legacy, find a cure for cancer...

sri_elgora
New user
New user
Posts: 12
Joined: 2024-10-01 13:24

Re: Imap clients not receive emails

Post by sri_elgora » 2024-10-06 20:05

Here is a logfile with a crash.

Have a look at message #63215 it has a size of 614554 bytes
The first chunk (393216 Bytes) is sent successfully
When the client asks for the second chunk the server crashes

Looks like
"IMAPD" 2200 645 "2024-10-06 18:52:37.521" "192.168.3.101" "SENT: A134 OK IDLE terminated"
"IMAPD" 2200 645 "2024-10-06 18:52:37.521" "192.168.3.101" "RECEIVED: A136 UID FETCH 63212,63215,63222,63225 (UID RFC822.SIZE BODYSTRUCTURE)"
"IMAPD" 2200 645 "2024-10-06 18:52:37.521" "192.168.3.101" "SENT: * 50361 FETCH (UID 63212 RFC822.SIZE 119854 BODYSTRUCTURE (("TEXT" "PLAIN" ("CHARSET" "utf-8") NIL NIL "quoted-printable" 26498 655)("TEXT" "HTML" ("CHARSET" "utf-8") NIL NIL "quoted-printable" 85747 1721) "ALTERNATIVE" ("BOUNDARY" "--=_---NextPart--=_-u3QuFQsdnH") NIL NIL))"
"IMAPD" 2200 645 "2024-10-06 18:52:37.537" "192.168.3.101" "SENT: * 50363 FETCH (UID 63215 RFC822.SIZE 614554 BODYSTRUCTURE (((("TEXT" "PLAIN" ("CHARSET" "utf-8") NIL NIL "quoted-printable" 4046 235)("TEXT" "HTML" ("CHARSET" "utf-8") NIL NIL "quoted-printable" 21041 402) "ALTERNATIVE" ("BOUNDARY" "----=_NextPart_002_0032_01DB13DC.C7222C40") NIL NIL)("IMAGE" "PNG" ("NAME" "image007.png") "<image007.png@01DB13DC.7B170280>" NIL "base64" 17814 NIL ("ATTACHMENT" ("FILENAME" "image007.png")))("IMAGE" "JPEG" ("NAME" "image008.jpg") "<image008.jpg@01DB13DC.C6BF4BC0>" NIL "base64" 27054 NIL ("ATTACHMENT" ("FILENAME" "image008.jpg")))("IMAGE" "JPEG" ("NAME" "image009.jpg") "<image009.jpg@01DB13DC.C6BF4BC0>" NIL "base64" 83884 NIL ("ATTACHMENT" ("FILENAME" "image009.jpg")))("IMAGE" "JPEG" ("NAME" "image010.jpg") "<image010.jpg@01DB13DC.C6BF4BC0>" NIL "base64" 70986 NIL ("ATTACHMENT" ("FILENAME" "image010.jpg")))("IMAGE" "PNG" ("NAME" "image011.png") "<image011.png@01DB13DC.C6BF4BC0>" NIL "base64" 7862 NIL ("ATTACHMENT" ("FILENAME" "image011.png")))("IMAGE" "JPEG" ("NAME" "image012.jpg") "<image012.jpg@01DB13DC.C6BF4BC0>" NIL "base64" 18072 NIL ("ATTACHMENT" ("FILENAME" "image012.jpg"))) "RELATED" ("BOUNDARY" "----=_NextPart_001_0031_01DB13DC.C7222C40") NIL NIL)("APPLICATION" "PDF" ("NAME" "TEST_KPS.pdf") NIL NIL "base64" 354478 NIL ("attachment" ("FILENAME" "TEST_KPS.pdf"))) "MIXED" ("BOUNDARY" "----=_NextPart_000_0030_01DB13DC.C7222C40") NIL NIL))"
"IMAPD" 2200 645 "2024-10-06 18:52:37.537" "192.168.3.101" "SENT: * 50368 FETCH (UID 63222 RFC822.SIZE 125636 BODYSTRUCTURE (("TEXT" "PLAIN" ("CHARSET" "utf-8") NIL NIL "quoted-printable" 1326 47)("TEXT" "HTML" ("CHARSET" "utf-8") NIL NIL "quoted-printable" 117169 3128) "ALTERNATIVE" ("BOUNDARY" "----=_NextPart_000_45FF50_01DB13ED.1C30D1E0") NIL NIL))"
"IMAPD" 2200 645 "2024-10-06 18:52:37.537" "192.168.3.101" "SENT: * 50371 FETCH (UID 63225 RFC822.SIZE 238610 BODYSTRUCTURE (("TEXT" "HTML" ("CHARSET" "UTF-8") NIL NIL "quoted-printable" 58479 5740)("TEXT" "HTML" ("NAME" "3400051893.htm") NIL NIL "base64" 35390 454 NIL ("attachment" ("FILENAME" "3400051893.htm")))("TEXT" "XML" ("NAME" "3400051893.xml") NIL NIL "base64" 7906 102 NIL ("attachment" ("FILENAME" "3400051893.xml")))("APPLICATION" "PDF" ("NAME" "3400051893.pdf") NIL NIL "base64" 125644 NIL ("attachment" ("FILENAME" "3400051893.pdf"))) "MIXED" ("BOUNDARY" "----=_Part_1351_1762799395.1727772965511") NIL NIL))"
"IMAPD" 2200 645 "2024-10-06 18:52:37.537" "192.168.3.101" "SENT: A136 OK UID completed"
"IMAPD" 2200 645 "2024-10-06 18:52:37.537" "192.168.3.101" "RECEIVED: A137 UID FETCH 63214,63216:63217,63220:63221,63223:63224 (UID BODY.PEEK[]<0.393216>)"
"IMAPD" 2200 645 "2024-10-06 18:52:37.553" "192.168.3.101" "SENT: * 50362 FETCH (UID 63214 BODY[]<0> {1137}"
"IMAPD" 2200 645 "2024-10-06 18:52:37.553" "192.168.3.101" "SENT: )"
"IMAPD" 2200 645 "2024-10-06 18:52:37.568" "192.168.3.101" "SENT: * 50364 FETCH (UID 63216 BODY[]<0> {1103}"
"IMAPD" 2200 645 "2024-10-06 18:52:37.568" "192.168.3.101" "SENT: )"
"IMAPD" 2200 645 "2024-10-06 18:52:37.568" "192.168.3.101" "SENT: * 50365 FETCH (UID 63217 BODY[]<0> {1411}"
"IMAPD" 2200 645 "2024-10-06 18:52:37.568" "192.168.3.101" "SENT: )"
"IMAPD" 2200 645 "2024-10-06 18:52:37.617" "192.168.3.101" "SENT: * 50366 FETCH (UID 63220 BODY[]<0> {1496}"
"IMAPD" 2200 645 "2024-10-06 18:52:37.617" "192.168.3.101" "SENT: )"
"IMAPD" 2200 645 "2024-10-06 18:52:37.617" "192.168.3.101" "SENT: * 50367 FETCH (UID 63221 BODY[]<0> {35872}"
"IMAPD" 2200 645 "2024-10-06 18:52:37.617" "192.168.3.101" "SENT: )"
"IMAPD" 2200 645 "2024-10-06 18:52:37.664" "192.168.3.101" "SENT: * 50369 FETCH (UID 63223 BODY[]<0> {16429}"
"IMAPD" 2200 645 "2024-10-06 18:52:37.664" "192.168.3.101" "SENT: )"
"IMAPD" 2200 645 "2024-10-06 18:52:37.664" "192.168.3.101" "SENT: * 50370 FETCH (UID 63224 BODY[]<0> {16470}"
"IMAPD" 2200 645 "2024-10-06 18:52:37.664" "192.168.3.101" "SENT: )"
"IMAPD" 2200 645 "2024-10-06 18:52:37.680" "192.168.3.101" "SENT: A137 OK UID completed"
"IMAPD" 6348 645 "2024-10-06 18:52:37.680" "192.168.3.101" "RECEIVED: A138 UID FETCH 63212 (UID BODY.PEEK[2]<0.393216>)"
"IMAPD" 6348 645 "2024-10-06 18:52:37.680" "192.168.3.101" "SENT: * 50361 FETCH (UID 63212 BODY[2]<0> {85747}"
"IMAPD" 6348 645 "2024-10-06 18:52:37.680" "192.168.3.101" "SENT: )"
"IMAPD" 6348 645 "2024-10-06 18:52:37.680" "192.168.3.101" "SENT: A138 OK UID completed"
"IMAPD" 6348 645 "2024-10-06 18:52:37.680" "192.168.3.101" "RECEIVED: A139 UID FETCH 63215 (UID BODY.PEEK[1.1]<0.393216>)"
"IMAPD" 6348 645 "2024-10-06 18:52:37.680" "192.168.3.101" "SENT: * 50363 FETCH (UID 63215 BODY[1.1]<0> {25409}"
"IMAPD" 6348 645 "2024-10-06 18:52:37.680" "192.168.3.101" "SENT: )"
"IMAPD" 6348 645 "2024-10-06 18:52:37.680" "192.168.3.101" "SENT: A139 OK UID completed"
"IMAPD" 2200 645 "2024-10-06 18:52:37.680" "192.168.3.101" "RECEIVED: A140 UID FETCH 63215 (UID BODY.PEEK[1.1]<393216.393216>)"
"APPLICATION" 2200 "2024-10-06 18:52:37.696" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"APPLICATION" 2200 "2024-10-06 18:52:37.696" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"APPLICATION" 2200 "2024-10-06 18:52:37.696" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"ERROR" 2200 "2024-10-06 18:52:37.696" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data length: 56, Data: A140 UID FETCH 63215 (UID BODY.PEEK[1.1]<393216.393216>). Remote IP: 192.168.3.101"
"DEBUG" 2200 "2024-10-06 18:52:37.886" "Ending session 645"
"ERROR" 2200 "2024-10-06 18:52:37.886" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask', Message: bad allocation"
"DEBUG" 2200 "2024-10-06 18:52:37.886" "Logging exception.."
"ERROR" 2200 "2024-10-06 18:52:38.139" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\Program Files (x86)\hMailServer\Logs\minidump_2024-10-06 185237_{05F92A87-AEE9-4379-9520-4FCE9B778D12}.dmp"
"DEBUG" 2200 "2024-10-06 18:52:38.139" "Completed logging of exception..."

sri_elgora
New user
New user
Posts: 12
Joined: 2024-10-01 13:24

Re: Imap clients not receive emails

Post by sri_elgora » 2024-10-06 21:29

As a quick and dirty workaround I created a go program that looks if a minidump was created and restarts hMailsServer service.
The scheduler runs it every 5 minutes.

User avatar
johang
Senior user
Senior user
Posts: 1189
Joined: 2008-09-01 09:20
Location: sweden

Re: Imap clients not receive emails

Post by johang » 2024-10-06 23:16

sri_elgora wrote:
2024-10-06 21:29
As a quick and dirty workaround I created a go program that looks if a minidump was created and restarts hMailsServer service.
The scheduler runs it every 5 minutes.
do you mean your hmailserver crashes so hard it does not restart by itself?
my hmailserver that now gets IOS 18 mail app IMAP requests, minidumped 3 times yesterday i did not need to intervene or restart anything..
lets cheat darwin out of his legacy, find a cure for cancer...

sri_elgora
New user
New user
Posts: 12
Joined: 2024-10-01 13:24

Re: Imap clients not receive emails

Post by sri_elgora » 2024-10-07 10:13

Yes, the server creates one or multiple mini dumps but the server does not restart, the PID remains the same.
This causes all active IMAP-connections to go stale and all of our Outlook clients don't receive any new mails until Outlook is restarted.

I know that this bug is caused by iOS-Mail-Client but a client should not be able to crash the server like that.

User avatar
RvdH
Senior user
Senior user
Posts: 3560
Joined: 2008-06-27 14:42
Location: The Netherlands

Re: Imap clients not receive emails

Post by RvdH » 2024-10-07 10:43

sri_elgora wrote:
2024-10-07 10:13
Yes, the server creates one or multiple mini dumps but the server does not restart, the PID remains the same.
This causes all active IMAP-connections to go stale and all of our Outlook clients don't receive any new mails until Outlook is restarted.

I know that this bug is caused by iOS-Mail-Client but a client should not be able to crash the server like that.
What is the exact hMailServer build in use?
CIDR to RegEx: d-fault.nl/cidrtoregex
DNS Lookup: d-fault.nl/dnstools
DKIM Generator: d-fault.nl/dkimgenerator
DNSBL Lookup: d-fault.nl/dnsbllookup
GEOIP Lookup: d-fault.nl/geoiplookup

infohmail
New user
New user
Posts: 19
Joined: 2015-03-11 14:47

Re: Imap clients not receive emails

Post by infohmail » 2024-10-07 12:27

the same for us...

"TCPIP" 4656 "2024-10-07 12:14:46.620" "TCPConnection - TLS/SSL handshake completed. Session Id: 8698, Remote IP: xxxxxxxxxx, Version: TLSv1.3, Cipher: TLS_AES_256_GCM_SHA384, Bits: 256"
"APPLICATION" 2316 "2024-10-07 12:14:47.432" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"APPLICATION" 2316 "2024-10-07 12:14:47.448" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"APPLICATION" 2316 "2024-10-07 12:14:47.464" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"ERROR" 2316 "2024-10-07 12:14:47.464" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data length: 53, Data: AR14 UID FETCH 4615 (UID BODY.PEEK[1]<393216.393216>). Remote IP: xxxxxxxxxx"
"ERROR" 2316 "2024-10-07 12:14:47.495" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask', Message: bad allocation"

We run the latest icon 5.7.0-B2643.15-OpenSSL-3.0.15-Experimental.

In addition pay attention to '... clearing caches': I think is a real strange cause is a 64bit application and at the moment is using approx 500KB of memory.

sri_elgora
New user
New user
Posts: 12
Joined: 2024-10-01 13:24

Re: Imap clients not receive emails

Post by sri_elgora » 2024-10-07 14:54

We run 5.7.0-B2643

gotspatel
Senior user
Senior user
Posts: 421
Joined: 2013-10-08 05:42
Location: INDIA

Re: Imap clients not receive emails

Post by gotspatel » 2024-10-08 14:29

Per this Thread HERE

we have to wait for iOS 18.1 for the FIX :lol:

infohmail
New user
New user
Posts: 19
Joined: 2015-03-11 14:47

Re: Imap clients not receive emails

Post by infohmail » 2024-10-09 13:11

yes, sure is a problem client-side (e.g. we run roundcube webmail with imap without any problem), but the server mustn't crash anyway.

sri_elgora
New user
New user
Posts: 12
Joined: 2024-10-01 13:24

Re: Imap clients not receive emails

Post by sri_elgora » 2024-10-10 15:19

I have registered for the Apple BETA program and updated my device to 18.1 Beta 3.

The problem is NOT SOLVED by this update!

The thread at macrumors is about GMAIL-Accounts and problems with IMAP Path Prefix and this bug is solved by Version 18.1. but has nothing to do with the hMailServer problems.
hMailServer is crashing when it sends the second part of a mail that is bigger than the chunksize.

tstrike2000
Normal user
Normal user
Posts: 42
Joined: 2005-09-19 23:52
Location: Chicago

Re: Imap clients not receive emails

Post by tstrike2000 » 2024-10-10 20:44

sri_elgora wrote:
2024-10-10 15:19
I have registered for the Apple BETA program and updated my device to 18.1 Beta 3.

The problem is NOT SOLVED by this update!

The thread at macrumors is about GMAIL-Accounts and problems with IMAP Path Prefix and this bug is solved by Version 18.1. but has nothing to do with the hMailServer problems.
hMailServer is crashing when it sends the second part of a mail that is bigger than the chunksize.
Yes and it's not solved with the most current iOS 18 beta either. I first tested it on hMail 5.6.9 and 5.7.

vidiot
New user
New user
Posts: 19
Joined: 2015-03-16 21:18

Re: Imap clients not receive emails

Post by vidiot » 2024-10-12 19:56

Thank you to all for testing and narrowing down the issue. Same issue here. sri_elgora you mention a program you wrote to restart Hmailserver when a dump file was present -- would you be willing to share? It's something to use while looking for a better solution.

Many thanks

User avatar
Conzi
Normal user
Normal user
Posts: 153
Joined: 2006-02-24 14:44
Location: Varese, Italy

Re: Imap clients not receive emails

Post by Conzi » 2024-10-14 12:24

sri_elgora wrote:
2024-10-06 21:29
As a quick and dirty workaround I created a go program that looks if a minidump was created and restarts hMailsServer service.
The scheduler runs it every 5 minutes.
can you share the program with us?

User avatar
Conzi
Normal user
Normal user
Posts: 153
Joined: 2006-02-24 14:44
Location: Varese, Italy

Re: Imap clients not receive emails

Post by Conzi » 2024-10-14 16:10

Conzi wrote:
2024-10-14 12:24
sri_elgora wrote:
2024-10-06 21:29
As a quick and dirty workaround I created a go program that looks if a minidump was created and restarts hMailsServer service.
The scheduler runs it every 5 minutes.
can you share the program with us?
but as a far as I know hmailserver create only 10 dmp files... if I restart the service hmailserver continue with another 10 dmp... and so on...

sri_elgora
New user
New user
Posts: 12
Joined: 2024-10-01 13:24

Re: Imap clients not receive emails

Post by sri_elgora » 2024-10-15 09:24

Here is the program with source code and a windows build.
Feel free to use and edit as needed.
Attachments
hm-restart.zip
(1.45 MiB) Downloaded 880 times

User avatar
Maquibo
New user
New user
Posts: 4
Joined: 2010-01-22 13:30
Location: SPAIN
Contact:

Re: Imap clients not receive emails

Post by Maquibo » 2024-10-22 11:36

This version resolves the issue.
https://github.com/SorenRR/hmailserver/ ... 4.98-(x86)
Best regards.
Attachments
ios_imap.png
ios_imap.png (35.58 KiB) Viewed 17635 times

User avatar
SorenR
Senior user
Senior user
Posts: 6406
Joined: 2006-08-21 15:38
Location: Denmark

Re: Imap clients not receive emails

Post by SorenR » 2024-10-22 15:18

Maquibo wrote:
2024-10-22 11:36
This version resolves the issue.
https://github.com/SorenRR/hmailserver/ ... 4.98-(x86)
Best regards.
If you already use RvdH's version this should be the one for you:
https://d-fault.nl/files/hMailServer-Bu ... imental.7z

Main difference between the two is mine is a complete install and the RvdH version is only modified files. There may also be other minor code variances ... ;-)
SørenR.

Woke is Marxism advancing through Maoist cultural revolution.

User avatar
RvdH
Senior user
Senior user
Posts: 3560
Joined: 2008-06-27 14:42
Location: The Netherlands

Re: Imap clients not receive emails

Post by RvdH » 2024-10-22 15:50

SorenR wrote:
2024-10-22 15:18
Maquibo wrote:
2024-10-22 11:36
This version resolves the issue.
https://github.com/SorenRR/hmailserver/ ... 4.98-(x86)
Best regards.
If you already use RvdH's version this should be the one for you:
https://d-fault.nl/files/hMailServer-Bu ... imental.7z

Main difference between the two is mine is a complete install and the RvdH version is only modified files. There may also be other minor code variances ... ;-)
Seeing the version numbering you sure made it look like yours offers something extra, not sure what to think about that...
fantastic idea though, lets confuse the crap out of people offering yet another build
CIDR to RegEx: d-fault.nl/cidrtoregex
DNS Lookup: d-fault.nl/dnstools
DKIM Generator: d-fault.nl/dkimgenerator
DNSBL Lookup: d-fault.nl/dnsbllookup
GEOIP Lookup: d-fault.nl/geoiplookup

User avatar
SorenR
Senior user
Senior user
Posts: 6406
Joined: 2006-08-21 15:38
Location: Denmark

Re: Imap clients not receive emails

Post by SorenR » 2024-10-22 16:44

RvdH wrote:
2024-10-22 15:50
SorenR wrote:
2024-10-22 15:18
Maquibo wrote:
2024-10-22 11:36
This version resolves the issue.
https://github.com/SorenRR/hmailserver/ ... 4.98-(x86)
Best regards.
If you already use RvdH's version this should be the one for you:
https://d-fault.nl/files/hMailServer-Bu ... imental.7z

Main difference between the two is mine is a complete install and the RvdH version is only modified files. There may also be other minor code variances ... ;-)
Seeing the version numbering you sure made it look like yours offers something extra, not sure what to think about that...
fantastic idea though, lets confuse the crap out of people offering yet another build
B2641 is the last "official" version from the build server before it went down (IIRC the last changes were to the testing code)... .98 simply means I made more revisions than you did - not necessarily functionality changes.
SørenR.

Woke is Marxism advancing through Maoist cultural revolution.

User avatar
RvdH
Senior user
Senior user
Posts: 3560
Joined: 2008-06-27 14:42
Location: The Netherlands

Re: Imap clients not receive emails

Post by RvdH » 2024-10-22 17:27

SorenR wrote:
2024-10-22 16:44
RvdH wrote:
2024-10-22 15:50
SorenR wrote:
2024-10-22 15:18


If you already use RvdH's version this should be the one for you:
https://d-fault.nl/files/hMailServer-Bu ... imental.7z

Main difference between the two is mine is a complete install and the RvdH version is only modified files. There may also be other minor code variances ... ;-)
Seeing the version numbering you sure made it look like yours offers something extra, not sure what to think about that...
fantastic idea though, lets confuse the crap out of people offering yet another build
B2641 is the last "official" version from the build server before it went down (IIRC the last changes were to the testing code)... .98 simply means I made more revisions than you did - not necessarily functionality changes.
B2644 you mean? But hey, thank you proving my point that it could confuse people :lol: :mrgreen:
What changes did B2644 bring? Or was it just a accidental run of teamcity's build runner and nothing really changed between B2641 and B2644?
CIDR to RegEx: d-fault.nl/cidrtoregex
DNS Lookup: d-fault.nl/dnstools
DKIM Generator: d-fault.nl/dkimgenerator
DNSBL Lookup: d-fault.nl/dnsbllookup
GEOIP Lookup: d-fault.nl/geoiplookup

User avatar
SorenR
Senior user
Senior user
Posts: 6406
Joined: 2006-08-21 15:38
Location: Denmark

Re: Imap clients not receive emails

Post by SorenR » 2024-10-22 17:41

RvdH wrote:
2024-10-22 17:27
SorenR wrote:
2024-10-22 16:44
RvdH wrote:
2024-10-22 15:50


Seeing the version numbering you sure made it look like yours offers something extra, not sure what to think about that...
fantastic idea though, lets confuse the crap out of people offering yet another build
B2641 is the last "official" version from the build server before it went down (IIRC the last changes were to the testing code)... .98 simply means I made more revisions than you did - not necessarily functionality changes.
B2644 you mean? But hey, thank you proving my point that it could confuse people :lol: :mrgreen:
What changes did B2644 bring? Or was it just a accidental run of teamcity's build runner and nothing really changed between B2641 and B2644?
B2644 correct, sorry. As I remember the changes were only test related so it would not influence the functionality of hMailServer.
SørenR.

Woke is Marxism advancing through Maoist cultural revolution.

DoMo_Sbg
New user
New user
Posts: 3
Joined: 2024-10-24 08:02

Re: Imap clients not receive emails

Post by DoMo_Sbg » 2024-10-24 08:31

Maquibo wrote:
2024-10-22 11:36
This version resolves the issue.
https://github.com/SorenRR/hmailserver/ ... 4.98-(x86)
Best regards.
Thanks a lot for providing a fix for the problem. Unfortunately with this version I run into another problem. I can't connect from our administration workstation to our hMailServer installations any more.

I started a new topic with more informations to the problem. Maybe anyone could help me to solve it: new topic with problem description.

Thanks in advanced.

User avatar
SorenR
Senior user
Senior user
Posts: 6406
Joined: 2006-08-21 15:38
Location: Denmark

Re: Imap clients not receive emails

Post by SorenR » 2024-10-24 10:34

This version will not install .NET 3.5 automatically so check if it is installed!
SørenR.

Woke is Marxism advancing through Maoist cultural revolution.

gokevin
New user
New user
Posts: 1
Joined: 2024-11-08 18:35

Re: Imap clients not receive emails

Post by gokevin » 2024-11-08 19:06

I have to tell you that I am just so happy that you did this and shared it with us. Thank you very much!
Maquibo wrote:
2024-10-22 11:36
This version resolves the issue.
https://github.com/SorenRR/hmailserver/ ... 4.98-(x86)
Best regards.

s1313
New user
New user
Posts: 4
Joined: 2024-09-26 12:04

Re: Imap clients not receive emails

Post by s1313 » 2024-11-11 17:09

Maquibo wrote:
2024-10-22 11:36
This version resolves the issue.
https://github.com/SorenRR/hmailserver/ ... 4.98-(x86)
Best regards.
Thank you. This version solved the problem

Martin75
New user
New user
Posts: 2
Joined: 2024-11-12 10:48

Re: Imap clients not receive emails

Post by Martin75 » 2024-11-12 11:19

Maquibo wrote:
2024-10-22 11:36
This version resolves the issue.
https://github.com/SorenRR/hmailserver/ ... 4.98-(x86)
Best regards.
Hi, I'm trying to update from 5.6.7-B2425 to SorenRR version 5.6.9-B2644.98.
It gives me an error when updating the database.
I'm attaching the error.
Can you navigate me how to solve it?
Thanks a lot.

HMSErr.JPG
HMSErr.JPG (44.07 KiB) Viewed 5485 times
HMS-5.6.9-B2644.98 / MSSQL / ESET AV

gotspatel
Senior user
Senior user
Posts: 421
Joined: 2013-10-08 05:42
Location: INDIA

Re: Imap clients not receive emails

Post by gotspatel » 2024-11-12 12:08

Martin75 wrote:
2024-11-12 11:19
Maquibo wrote:
2024-10-22 11:36
This version resolves the issue.
https://github.com/SorenRR/hmailserver/ ... 4.98-(x86)
Best regards.
Hi, I'm trying to update from 5.6.7-B2425 to SorenRR version 5.6.9-B2644.98.
It gives me an error when updating the database.
I'm attaching the error.
Can you navigate me how to solve it?
Thanks a lot.

GO TO THIS Post --> viewtopic.php?f=10&t=30193&start=480#p251636

and try to run those sql queries manually and try update again. There seems to be error in MSSQL query

Martin75
New user
New user
Posts: 2
Joined: 2024-11-12 10:48

Re: Imap clients not receive emails

Post by Martin75 » 2024-11-12 12:25

gotspatel wrote:
2024-11-12 12:08
Martin75 wrote:
2024-11-12 11:19
Maquibo wrote:
2024-10-22 11:36
This version resolves the issue.
https://github.com/SorenRR/hmailserver/ ... 4.98-(x86)
Best regards.
Hi, I'm trying to update from 5.6.7-B2425 to SorenRR version 5.6.9-B2644.98.
It gives me an error when updating the database.
I'm attaching the error.
Can you navigate me how to solve it?
Thanks a lot.

GO TO THIS Post --> viewtopic.php?f=10&t=30193&start=480#p251636

and try to run those sql queries manually and try update again. There seems to be error in MSSQL query
Thank you, going to try ...
HMS-5.6.9-B2644.98 / MSSQL / ESET AV

User avatar
SorenR
Senior user
Senior user
Posts: 6406
Joined: 2006-08-21 15:38
Location: Denmark

Re: Imap clients not receive emails

Post by SorenR » 2024-11-19 18:15

Appears there is a bug in "Upgrade5605to5606MSSQL.sql" : nvarchar(255) and possibly also "Upgrade5605to5606MSSQLCE.sql"

Code: Select all

ALTER TABLE hm_fetchaccounts ADD COLUMN famimerecipientheaders nvarchar(255) NOT NULL DEFAULT 'To,CC,X-RCPT-TO,X-Envelope-To'

update hm_dbversion set value = 5606
should be

Code: Select all

ALTER TABLE hm_fetchaccounts ADD COLUMN famimerecipientheaders varchar(255) NOT NULL DEFAULT 'To,CC,X-RCPT-TO,X-Envelope-To'

update hm_dbversion set value = 5606
Currently recovering from atrial fibrillation (a ton of drugs, feeling sick, extremely tired and a whole other slew of side side effects from the drugs) :| will update code in a few days ...
SørenR.

Woke is Marxism advancing through Maoist cultural revolution.

Post Reply