New hMailServer x 64 MSI Installer

Use this forum if you want to discuss a problem or ask a question related to a hMailServer beta release.
Post Reply
User avatar
Dravion
Senior user
Senior user
Posts: 1150
Joined: 2015-09-26 11:50
Location: Germany
Contact:

New hMailServer x 64 MSI Installer

Post by Dravion » 2018-10-18 07:25

Due to Problems in recent version of InnoSetup regarding Maleware false positive or Maleware contamination, i decided to replace the entire thing and
created a complete new Installer for hMailServer 5.6.8 x64 from scratch as Windows Installer Package (MSI).

Now Virustotal scan results looking good
See scanresults:
https://www.virustotal.com/#/file/e122f ... /detection

Relasenotes:
https://github.com/Dravion/hmailserver/ ... /tag/5.6.8

hMailServer 5.6.8 64-Bi MSI-Installer (tested with Win7 x64 and higher)
https://github.com/Dravion/hmailserver/ ... 31-x64.msi

Hint:
This Installer needs the .NET 4 Framework installed or the Installer will quit with a Warning.
You can download and install .NET 4 if you dont allready have a newer version allready installed
https://www.microsoft.com/en-US/downloa ... x?id=17718

If you want to use MS-SQL CE x64 Bit you need to Download and install it first
https://www.microsoft.com/en-us/downloa ... x?id=17876

ps: You wont be asked to setup a password, the Password is simply not set, so just click ok on the hMailAdmin login Dialog
and setup a new Password in hMailAdmin Password settings.

Screenshots:
msi1.jpg
msi2.jpg
64-Bit builds of hMailserver

hMailServer-5.6.+ (HCD) https://github.com/hMailServer-ComDevs/hmailserver
hMailServer-5.6.+ (LTS) https://github.com/Dravion/hMailServer/releases

snico
New user
New user
Posts: 27
Joined: 2010-01-04 12:18

Re: New hMailServer x 64 MSI Installer

Post by snico » 2018-11-26 18:55

hello,

thank you so much Dravion

an it be used in production?

I have been worried for several years "hMailServer has run out of memory"

see : viewtopic.php?t=26317
Nicolas Cavaré
hMailServer 5.4.1 B1951 external MSSQL 2008 r2
Windows 2008 r2 | 2 x Intel Xeon E5-2650v2 | 64 Go DDR3 | 2 x Intel SSD 600go

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

Re: New hMailServer x 64 MSI Installer

Post by Dravion » 2018-11-26 21:52

The Inno (*.exe) Installer can be used for Production.

Innosetup - 64-Bit Installer:
https://github.com/hMailServer-ComDevs/ ... r/releases
64-Bit builds of hMailserver

hMailServer-5.6.+ (HCD) https://github.com/hMailServer-ComDevs/hmailserver
hMailServer-5.6.+ (LTS) https://github.com/Dravion/hMailServer/releases

raidensnake
New user
New user
Posts: 11
Joined: 2018-09-22 10:26

Re: New hMailServer x 64 MSI Installer

Post by raidensnake » 2018-11-26 22:06

Does this use LibreSSL?

User avatar
mattg
Moderator
Moderator
Posts: 19363
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: New hMailServer x 64 MSI Installer

Post by mattg » 2018-11-27 00:01

raidensnake wrote:
2018-11-26 22:06
Does this use LibreSSL?
You notice from the post above that Dravion has two builds, one with OpenSSL and one with LibreSSL

Dravion is certainly keen to change from OpenSSL to LibreSSL, that's why both are offered...
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

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

Re: New hMailServer x 64 MSI Installer

Post by Dravion » 2018-11-27 08:27

Thats correct @mattg :D

But its really not a Vodoo trick,because LibreSSL
is a Fork of OpenSSL 1.0.2.x which hMailServer uses normally.

The main reason why i focus on LibreSSL is because OpenSSL 1.0.2.x has reached EOL and there will be no security Updates after December 2019.

On the other Hand OpenSSL 1.1.x (which is the new upgrade of OpenSSL) is incompatible to hMailServers existing Codebase and would require
a require a rewrite of portions of hMailserver code.

Its just trick to stay uptodate with a supported security lib for hMailServer.
64-Bit builds of hMailserver

hMailServer-5.6.+ (HCD) https://github.com/hMailServer-ComDevs/hmailserver
hMailServer-5.6.+ (LTS) https://github.com/Dravion/hMailServer/releases

KuroNeko
New user
New user
Posts: 2
Joined: 2018-12-21 08:58

Re: New hMailServer x 64 MSI Installer

Post by KuroNeko » 2018-12-21 09:01

The link is down.
Have you deleted the file? Can you reupload it - maybe with a new link?

Thanks in advance.

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

Re: New hMailServer x 64 MSI Installer

Post by Dravion » 2018-12-21 09:39

Classic Installer with updated OpenSSL Version and included libmysql.dll can allways be found here:
https://github.com/hMailServer-ComDevs/ ... r/releases

Experimental, new MSI Installer can be found here:
https://github.com/hMailServer-ComDevs/builds/releases

Remember, this is x64 only. If you need 32-Bit, use the official version from here
https://www.hmailserver.com/download
64-Bit builds of hMailserver

hMailServer-5.6.+ (HCD) https://github.com/hMailServer-ComDevs/hmailserver
hMailServer-5.6.+ (LTS) https://github.com/Dravion/hMailServer/releases

KuroNeko
New user
New user
Posts: 2
Joined: 2018-12-21 08:58

Re: New hMailServer x 64 MSI Installer

Post by KuroNeko » 2018-12-21 09:46

Thanks for the fast answers and the links.
I was looking for hMailServer-5.6.8-B2431-x64.msi. This wasn't needed Net 2.0?

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

Re: New hMailServer x 64 MSI Installer

Post by Dravion » 2018-12-21 09:54

The MSI requires .NET 4.0 or higher because the Client Tools where updated to 4.0.If the MSI installer doesnt find it, it will inform you to install a .NET 4.x Version and quits.

ps: It also uses LibreSSL instead of OpenSSL

If you want OpenSSL, use the above mentioned Classic-Installer.
64-Bit builds of hMailserver

hMailServer-5.6.+ (HCD) https://github.com/hMailServer-ComDevs/hmailserver
hMailServer-5.6.+ (LTS) https://github.com/Dravion/hMailServer/releases

katip
Senior user
Senior user
Posts: 527
Joined: 2006-12-22 07:58
Location: Istanbul

Re: New hMailServer x 64 MSI Installer

Post by katip » 2018-12-22 16:43

Hi Dravion,
Dravion wrote:
2018-12-21 09:54
The MSI requires .NET 4.0 or higher because the Client Tools where updated to 4.0.If the MSI installer doesnt find it, it will inform you to install a .NET 4.x Version and quits.

ps: It also uses LibreSSL instead of OpenSSL

If you want OpenSSL, use the above mentioned Classic-Installer.
just tried your .msi
btw, i think it has no "upgrade", just only full setup routine. ok not a big issue for now...
however after completing the setup, client cannot connect.
HMS diags show the following:

Code: Select all

Exception from HRESULT: 0x800403E9

ExceptionType: COMException
HelpLine: 
Message: Exception from HRESULT: 0x800403E9
Source: Interop.hMailServer
StackTrace:    at hMailServer.DiagnosticsClass.PerformTests()
   at hMailServer.Administrator.ucDiagnostics.buttonPerformTests_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
TargetSite: hMailServer.DiagnosticResults PerformTests()
falling back to hMailServer-5.6.8-B2431-LibreSSL-x64.exe which runs fine since weeks.

jfyi
Katip
--
HMS 5.6.7-B2425, MySQL 5.5.46, SpamAssassin 3.4.2, ClamAV 0.99.2 + SaneS & SecuriteI

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

Re: New hMailServer x 64 MSI Installer

Post by Dravion » 2018-12-22 17:25

Thx, Katip - good to know.

Its true, i doesnt upgrade right now and right now i have to work on the hRMS Feature first before i
fix the MSI Installer. The MSI Installer will deploy
new hMailServer Features while the Classic Installer
recieves only OpenSSL 1.0.2.x updates and critical bug fixes until end of Dec 2019, because of EOL of OpenSSL 1.0.2.x. I think at this time the MSI Installer is more Production safe and LibreSSL is well tested enough so we dont need OpenSSL anymore.
64-Bit builds of hMailserver

hMailServer-5.6.+ (HCD) https://github.com/hMailServer-ComDevs/hmailserver
hMailServer-5.6.+ (LTS) https://github.com/Dravion/hMailServer/releases

rastaginger
Normal user
Normal user
Posts: 38
Joined: 2016-01-27 19:42

Re: New hMailServer x 64 MSI Installer

Post by rastaginger » 2019-01-04 20:05

if i have the current 32bit production version installed. Do i have to uninstall it to be able to install your new 64bit MSI LibreSSL version or can i "upgrade" my existing installation
Hmail 5.6
Windows Server 2008 R2 - 64Bit
SpamAssasin

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

Re: New hMailServer x 64 MSI Installer

Post by Dravion » 2019-01-04 21:10

It will replace hMailServer files, which are allready exist. Its recommended to just backup your old hMailServer Folder so you can switch back if something goes wrong anytime.

Make sure you copy your old hMailServer.ini file to a safe place because this MSI Installer will overwrite
your old hMailServer.ini and set a empty password.

After you installed the MSI Package, just replace the new installed hMailServer.ini file with your old, functioning hMailServer.ini file.

Change notice:
I will build new hMailServer 32-Bit and 64-Bit Releases with the old EXE Installer from now on only (LTS = Long Term Support = version).

The new, rewritten HCD hMailServer version
will come as MSI Installer for Windows, a
Apple DMG Container file for MacOS, for
Debian/Ubuntu Linux a DEB Package
and for Redhat based Linux (Fedora/CentOS)
a RPM Package.It will be also possible to
build HCD hMailServer.tar.gz sourceball from
Commnd prompt with GNU Mingw-w64,
Linux GCC and MacOS Clang OpenSource
Compiler, so Visual Studio isnt any longer the
only possible Build-Environment for hMailServer HCD.

HCD will bring many new features like better Windows 64-Bit (Nano Server included), Support, Linux 64-Bit, MacOS 64-Bit and ReactOS 32-Bit Support, newest BOOST-Updates and interchageable WolfSSL and LibreSSL Crypto
Library integration.WolfSSL has allready TLS 1.3
support so SMTP and POP3/IMAP can handle TLSv1.3 STARTTLS and SSL/TLS-Connections.
The hMailServer HCD Deamon will now accept
specific configfiles and multiple instances of hMailServer HCD can coexist side by side (Multiinstancing).

The hMailAdmin is a complete new Program based on the QT5 C++ Framework which can connect to hMailServer HCD via TCP/IP with TLSv1.2.

However, some old parts are no longer working like VB-Script and the DCOM API. For Scrpting, it will be the LUA-Scripting Language from now on.

Server Admin scripting can be done via hMailServers HCD new Remote acces Protocoll (TCP/IP+TLSv1.2) for example with PHP or Python
using Sockets.

HCD hMailServer will have a Group based permission design which will allow multiple admin accounts defined by user groups and restricted acounts for Backup, Webinterface ect.
64-Bit builds of hMailserver

hMailServer-5.6.+ (HCD) https://github.com/hMailServer-ComDevs/hmailserver
hMailServer-5.6.+ (LTS) https://github.com/Dravion/hMailServer/releases

mats
New user
New user
Posts: 24
Joined: 2018-05-06 20:58

Re: New hMailServer x 64 MSI Installer

Post by mats » 2019-01-05 18:04

I know it's more work but I would like to suggest an alternative to sockets.
belive an rest based admin webservice would be even better.
Just about any language can talk to a webservice. It's also a protocol that can be proxied and further secured with extra auth layers if you want too.

Just my 2c

And a MAJOR thumbs up for the new access control system. It's really needed

Post Reply