5.7.0-B2414

Use this forum if you want to discuss a problem or ask a question related to a hMailServer beta release.
Post Reply
mns17
Normal user
Normal user
Posts: 124
Joined: 2008-06-18 11:13

5.7.0-B2414

Post by mns17 » 2017-03-25 11:27

Mattg, Martin, can you patch one SQL query in Messages.cpp?

from
String sql = "update hm_messages set messageflags = messageflags & ~ @FLAGS where messageaccountid = @ACCOUNTID and messagefolderid = @FOLDERID;
to
String sql = "update hm_messages set messageflags = messageflags & ~ @FLAGS where messageaccountid = @ACCOUNTID and messagefolderid = @FOLDERID and NOT messageflags = messageflags & ~ @FLAGS";

This patch will speed up the request

Thx!

User avatar
jimimaseye
Moderator
Moderator
Posts: 7420
Joined: 2011-09-08 17:48

Re: 5.7.0-B2414

Post by jimimaseye » 2017-03-25 13:49

Enter your request, advice or DIY fix here: https://github.com/hmailserver/hmailserver/issues/
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
Dravion
Senior user
Senior user
Posts: 957
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: 5.7.0-B2414

Post by Dravion » 2017-03-25 16:07

Create a patch on Github

1) Create a Github account
2) Assemble your fix
3) Create a pull request
My 64-Bit build of hMailserver (Build: 2/6/2018)+OpenSSL 1.0.2o
https://github.com/Dravion/hmailserver/releases

HMSInfo 32/64-Bit
https://github.com/Dravion/HMSInfo/releases

Post Reply