5.6.5 and 5.7

Use this forum if you want to discuss a problem or ask a question related to a hMailServer beta release.
Post Reply
User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

5.6.5 and 5.7

Post by martin » 2016-04-24 13:45

The currently available 5.6.5 beta build will be put up as stable in a week unless some serious issue is reported.

After that, I'll focus on 5.7, which will mainly bring 64bit support and better memory handling and a bunch of bug fixes. I've run 5.7 myself for many months without any big issues (running without restart since january), but there are some bugs to be fixed.
Martin Knafve
martin@hmailserver.com
https://twitter.com/knafve

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: 5.6.5 and 5.7

Post by martin » 2016-04-28 22:00

Was planning releasing 5.6.5 on sunday, but earlier today OpenSSL announced that they will release a patch the 3rd of may, including high-prio fixes. So I will fix a couple of things and wait another week before releasing it.
Martin Knafve
martin@hmailserver.com
https://twitter.com/knafve

prisma
Senior user
Senior user
Posts: 310
Joined: 2010-07-09 13:16

Re: 5.6.5 and 5.7

Post by prisma » 2016-05-03 16:36

THX, Martin.

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: 5.6.5 and 5.7

Post by martin » 2016-05-03 22:14

The new build is now up.
Martin Knafve
martin@hmailserver.com
https://twitter.com/knafve

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

Re: 5.6.5 and 5.7

Post by jimimaseye » 2016-05-03 22:18

You mean latest 5.6.5 beta? You still planning to make a 5.6.5 Production after next week?
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
jimimaseye
Moderator
Moderator
Posts: 8132
Joined: 2011-09-08 17:48

Re: 5.6.5 and 5.7

Post by jimimaseye » 2016-05-03 22:32

Humph!

https://www.hmailserver.com/files/hMail ... -B2360.exe
Not Found

The requested URL /files/hMailServer-5.6.5-B2360.exe was not found on this server.
Apache/2.4.7 (Ubuntu) Server at http://www.hmailserver.com Port 443
Download is not working Martin.
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
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: 5.6.5 and 5.7

Post by martin » 2016-05-03 22:34

Yes, 5.6.5, and yes in a week unless something else comes up. The reason I postponed it was due to the OpenSSL release today. Didn't want to deploy a new version just to have to release another a few days later.

There are new 5.7-builds all the time on the build server as well. That's what I'm running myself on my servers...

Edit: I fixed the link...damnit.
Martin Knafve
martin@hmailserver.com
https://twitter.com/knafve

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

Re: 5.6.5 and 5.7

Post by jimimaseye » 2016-05-03 22:59

Confirmed. Link now working. Cheers.

(Done a few tests for previous github bugs youve tackled (including the service accept_shutdown and quoted "localpart"@) - not that I had any doubts that you wouldnt have tested anyway :wink: . I like what I see. No complaints here.)
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
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: 5.6.5 and 5.7

Post by martin » 2016-05-03 23:01

Well I run some tests on every change, and try to cover every change in the automated test suite, but of course it's possible and even easy to miss certain scenarios.

I'll continue fixing the rest of the open issues for 5.7.
Martin Knafve
martin@hmailserver.com
https://twitter.com/knafve

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

Re: 5.6.5 and 5.7

Post by jimimaseye » 2016-05-03 23:04

You looking at a guessimated/hoped for timeframe for public release of 5.7 (beta or otherwise)? This year or....?
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
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: 5.6.5 and 5.7

Post by martin » 2016-05-03 23:10

Only thing left is fixing the open bugs (~15) and some stress tests (tests of what happens if you have millions of messages). There's no more features I plan to add to it. I've run it on my own servers for several months but I'm a fairly light user. There will definitively be betas this year, and I don't see any reason right now that there wouldn't be a stable release as well.

It's already possible to download the builds from https://build.hmailserver.com/ (next to Build 5.7, under Artifacts). But these are alpha-quality, and while they have worked on my machines I have not tested it on all supported OS'es and so on.
Martin Knafve
martin@hmailserver.com
https://twitter.com/knafve

stephan123
Normal user
Normal user
Posts: 37
Joined: 2009-10-29 13:03

Re: 5.6.5 and 5.7

Post by stephan123 » 2016-05-04 07:58

Hi Martin,

thanks for the good work. We are using hMailServer for 6 years now without any problem.
martin wrote:It's already possible to download the builds from https://build.hmailserver.com/ (next to Build 5.7, under Artifacts). But these are alpha-quality, and while they have worked on my machines I have not tested it on all supported OS'es and so on.
I took a short look at your teamCity buildserver. Why don't you run your automated tests on this server? This is pretty easy to set up and does not block your development machine for the time the tests run.

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: 5.6.5 and 5.7

Post by martin » 2016-05-05 13:27

stephan123 wrote:Hi Martin,
I took a short look at your teamCity buildserver. Why don't you run your automated tests on this server? This is pretty easy to set up and does not block your development machine for the time the tests run.
The automated tests for hMailServer are not unit tests but rather integration tests which tests hMailServer by installing it, setting up user accounts, sending email, configuring routes, external accounts etc etc. The tests attempts to test all the features available in hMailServer. The tests are executed in VMware virtual machines on Windows XP, 2003, 2008, etc. Some of these VM's have old versions of hMailServer installed, and when the tests are run they upgrade from that version to the current version (one of the VM's for example contains hMailServer 3.3 so after the tests have completed, I know the database scripts for upgrading from 3.3 should work). The VM's contains a mixture of built in MySQL, built in SQL Compact, external MySQL, Postgres and MSSQL and the tests are run on all of these (currently 14 separate virtual machine environments). The test runner tests on 3 VM environments in paralell and take roughly 30 minutes to run.

The hMailServer build environment is running in a VM in Microsoft Azure. Azure does not support virtualization of XP or Vista for example so using normal Azure VM's wont work (and it would probably get a bit expensive even if it worked). I've tried to install VMware workstation both on Microsoft Azure and Amazon AWS, but in both cases the virtualization was running too slow (I think running virtualization software running within another layer of virtualization software means that the "inner" virtualization software can't fully utilize the virtualization capabilities available in the hardware).

So, to answer your question, yes I agree that generally speaking running NUnit tests from TeamCity is trivial, it gets much more complex if your test infrastructure relies on virtualization. I've spent quite some time trying to get the tests to run externally (not on my dev machine) and if you have suggestions how to accomplish that, please share. :)
Martin Knafve
martin@hmailserver.com
https://twitter.com/knafve

stephan123
Normal user
Normal user
Posts: 37
Joined: 2009-10-29 13:03

Re: 5.6.5 and 5.7

Post by stephan123 » 2016-05-06 07:07

Hi Martin,

thanks for the insight. I hope you can use MSDN developer licences for those VMs. I fully get your point and appreciate all the work that you do.

Stephan

mpfrench
Normal user
Normal user
Posts: 57
Joined: 2007-07-18 11:27

Re: 5.6.5 and 5.7

Post by mpfrench » 2016-06-17 22:10

I ran 5.6.5-B2367 for a couple of days. The spam checks for MX and HELO do not work correctly and flag things that they should not. I am using an off-site MX but have HMS set to recognize these MXs in the Relay section.

Martin, I sent you a couple e-mails that document the problems.

Thanks,
Mike

mivimex
New user
New user
Posts: 13
Joined: 2014-04-10 09:54

Re: 5.6.5 and 5.7

Post by mivimex » 2016-07-11 10:14

Thank you for your work, Martin!
I'm looking towards x64 installation (5.7.0-B2373-x64), manually moved app and database to "c:\Program Files" folder, reinstalled application, corrected paths in hMailServer.INI and reselected certificate in hmail administration, everything fine, database and data folder picked up correctly.
But I have noticed, that the installer is still trying to select "c:\Program Files (x64)" folder. This is supposed to be corrected in future?
Thank you.

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

Re: 5.6.5 and 5.7

Post by jimimaseye » 2016-07-11 13:01

Ive installed the 5.7.0 B2373 (x32) on test. Initial observations:

* I see a new compatible feature for SASL in IMAP. (Includes a database change so a backward downgrade of Hmailserver program to 5.6 is not compatible - an uninstall and reinstall + database restore would be required).
* The installer executable is significantly bigger than 5.6.5 (7440KB opposed to 3984KB) - presumably because of the new MSSQLCE database being used.
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
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: 5.6.5 and 5.7

Post by martin » 2016-07-11 14:45

The installer executable is significantly bigger than 5.6.5 (7440KB opposed to 3984KB) - presumably because of the new MSSQLCE database being used.
Yes, that's correct. The confusing thing is that with 32-bit version of hMailServer I have to ship both 32bit and 64bit version of MSSQLCE for it to work. With 64bit version, it's enough to only ship the 64bit version of MSSQLCE. That's the reason the 32-bit version is ~2MB bigger than the 64bit version.

I think ~7MB is still small enough for it to be a nonissue.
Martin Knafve
martin@hmailserver.com
https://twitter.com/knafve

Post Reply