Search found 3104 matches
- 2023-12-03 11:01
- Forum: General discussions
- Topic: Constant crashes and out of memory problems
- Replies: 23
- Views: 271
Re: Constant crashes and out of memory problems
I've done plenty of maintenance on it (this is a production server) but didn't consider forcibly removing records from a database on a working production system to be a good use of time. The intended behaviour should be that hMail simply creates a file if one is missing that says the file could not...
- 2023-12-03 03:26
- Forum: General discussions
- Topic: Constant crashes and out of memory problems
- Replies: 23
- Views: 271
Re: Constant crashes and out of memory problems
Might be me, but would it have been a very bad idea to temporary disable IMAP access while trying to fix database/records? That said, you say you have been using hmailserver for years, even knowing you had mails/records missing (due to misbehaving AV) yet you have done none maintenance whatsoever un...
- 2023-12-02 21:31
- Forum: General discussions
- Topic: Constant crashes and out of memory problems
- Replies: 23
- Views: 271
Re: Constant crashes and out of memory problems
So what I'm seeing right before the huge log of Out of Memory errors crashes the app, is (or a variation of): "Severity: 2 (High), Code: HM4208, Source: File::ReadFile(), Description: An error occured when reading file., Message: bad allocation" "ERROR" 6716 "2023-12-02 16:39:18.158" "Severity: 3 (...
- 2023-12-02 20:51
- Forum: User contributed hMailServer 5 scripts
- Topic: HOW TO: Read database Messages file to check the physical file exists
- Replies: 43
- Views: 35869
Re: HOW TO: Read database Messages file to check the physical file exists
@jimimaseye
the part, SPACE(8-length(hm_messages.messageid)) returns a empty column for me, not entirely sure what that is supposed to do
the part, SPACE(8-length(hm_messages.messageid)) returns a empty column for me, not entirely sure what that is supposed to do
- 2023-12-02 20:42
- Forum: User contributed hMailServer 5 scripts
- Topic: HOW TO: Read database Messages file to check the physical file exists
- Replies: 43
- Views: 35869
Re: HOW TO: Read database Messages file to check the physical file exists
The server has about 2.5 million emails on it (that's the number of lines in MessageList.txt) so wonder if it's a VB limitation in terms of reading that file? Think that (the amount of lines) might be the issue and not the INTEGER to LONG conversion, eg: MessageList.txt being to big to be read line...
- 2023-12-02 19:50
- Forum: General discussions
- Topic: Constant crashes and out of memory problems
- Replies: 23
- Views: 271
Re: Constant crashes and out of memory problems
Keep it to the facts and leave fiction and non-official builds out of the conversation, and with official build i mean builds available thru https://build.hmailserver.com/login.html I'm not developer nor repository freak. About an x64 I first heard from him on this forum, yes it was something 5.6 x...
- 2023-12-02 19:11
- Forum: User contributed hMailServer 5 scripts
- Topic: HOW TO: Read database Messages file to check the physical file exists
- Replies: 43
- Views: 35869
Re: HOW TO: Read database Messages file to check the physical file exists
HMSdatabaseRecordCheck.vbs (using LONG instead of INT) Option Explicit Const AdminUser = "administrator" Dim Elog, FSO, DataDir, Mode, HMSpass Dim MessageCount, ErrorCount,DeletedCount Mode = 0 MessageCount = 0 ErrorCount = 0 DeletedCount = 0 Dim obApp, oDomain, oAccount Dim oReadObj, oRead, SearchF...
- 2023-12-02 18:53
- Forum: General discussions
- Topic: Constant crashes and out of memory problems
- Replies: 23
- Views: 271
Re: Constant crashes and out of memory problems
So what I'm seeing right before the huge log of Out of Memory errors crashes the app, is (or a variation of): "Severity: 2 (High), Code: HM4208, Source: File::ReadFile(), Description: An error occured when reading file., Message: bad allocation" "ERROR" 6716 "2023-12-02 16:39:18.158" "Severity: 3 (...
- 2023-12-02 18:47
- Forum: General discussions
- Topic: Constant crashes and out of memory problems
- Replies: 23
- Views: 271
Re: Constant crashes and out of memory problems
Bullcrap, Dravion rebranded the official 5.7 (x64) code as being 5.6 (x64) LTS....their is kinda where out 'little' dispute started, took me weeks to convince mattg and jimimaseye that that build was a 100% knockoff of the 5.7 build that martin himself already was providing, eg; so 5.7 alpha existe...
- 2023-12-02 18:23
- Forum: General discussions
- Topic: Constant crashes and out of memory problems
- Replies: 23
- Views: 271
Re: Constant crashes and out of memory problems
No, we use it since Dravion's experimental builds years ago. Later x64 came into official development as Alpha, still so if one wants to name it, but was always good enough on our production server. Problems started during this summer, evolved to disturbingly frequent cases in October. HMS was on a...
- 2023-12-02 18:19
- Forum: General discussions
- Topic: Constant crashes and out of memory problems
- Replies: 23
- Views: 271
Re: Constant crashes and out of memory problems
There is a 64-bit build, only it is not a officially supported (alpha) build and a kind of a special build for enthousiast/long time users, and to be honest not sure if it would be a good idea to upgrade because of this or to try to pin down why i just recently started crapping out on 5.6.x Start wi...
- 2023-12-02 15:44
- Forum: General discussions
- Topic: Constant crashes and out of memory problems
- Replies: 23
- Views: 271
Re: Constant crashes and out of memory problems
Hi all, I've been running hMailserver quite happily on our server for about 5 years. It has 3 million+ emails and roughly 200 accounts on it. It's a Windows Server 2016 virtual server. Recently, hMailserver has started crashing multiple times as day with various Out of Memory and Bad Allocation err...
- 2023-12-01 15:21
- Forum: Development & alpha discussions
- Topic: Sub OnHELO(oClient) progress?
- Replies: 485
- Views: 554709
Re: Sub OnHELO(oClient) progress?
Understood my typos :lol: :wink: I believe a few use 5.7 in production right now, mattg? I use 5.7 on my personal domain/server, and 5.6.x on work related corporate environment I think it all depends on how much mail is being processed and if there is a real need to upgrade to 5.7, if it runs smoot...
- 2023-12-01 13:06
- Forum: Development & alpha discussions
- Topic: Sub OnHELO(oClient) progress?
- Replies: 485
- Views: 554709
Re: Sub OnHELO(oClient) progress?
Greetings @RvdH I am on 5.6.9 Build 2641.62 - Your Forked from your web https://d-fault.nl/files/hMailServer-Builds Wanted to know details for some of my dumb queries if you please revert 1. Will you patch both 5.6.9 and 5.7.0 or just 5.7.0? as I saw that you have build 5.7.0-B26 43.6 but the 5.6.9...
- 2023-11-30 10:33
- Forum: Development & alpha discussions
- Topic: hMailServer X
- Replies: 111
- Views: 26131
- 2023-11-30 10:17
- Forum: Development & alpha discussions
- Topic: hMailServer X
- Replies: 111
- Views: 26131
Re: hMailServer X
It is best if you just ignore hMailServer X. Stop spreading negativity. You are just hurting yourself. Use that energy to do something good, maybe to move hMailServer forward. Lol, another nobody lecturing me.... that is just funny :lol: https://github.com/hmailserver/hmailserver/pulls?q=is%3Apr+au...
- 2023-11-29 14:42
- Forum: General discussions
- Topic: hmailserver and clamAV - communication error
- Replies: 2
- Views: 140
Re: hmailserver and clamAV - communication error
Or stick to/with the ClamAv 0.103.x LTS branch
- 2023-11-29 14:40
- Forum: Off-topic discussions
- Topic: Nation State Hackers Exploiting Zero-Day in Roundcube Webmail Software
- Replies: 11
- Views: 1361
Re: Nation State Hackers Exploiting Zero-Day in Roundcube Webmail Software
https://nextcloud.com/blog/open-source- ... nextcloud/
Can't they pickup hMailServer development as well?
Can't they pickup hMailServer development as well?

- 2023-11-27 21:37
- Forum: User contributed hMailServer 5 scripts
- Topic: HOW TO: Read database Messages file to check the physical file exists
- Replies: 43
- Views: 35869
Re: HOW TO: Read database Messages file to check the physical file exists
I'm running this script on a server with about 30GB of free RAM and 1TB of free drive space and I'm getting: CScript Error: Execution of the Windows Script Host failed. (Not enough storage is available to complete this operation). I'm pretty convinced neither RAM nor drive space are the issue as ne...
- 2023-11-27 19:21
- Forum: General discussions
- Topic: .eml files missing but in database
- Replies: 3
- Views: 150
Re: .eml files missing but in database
Hi all, I've run an hMailserver for about 10 years and it's been completely reliable. However, over the years, some .eml files have disappeared from the DATA folder and clearly still exist in the database as I get lots of errors of older files missing in the logs. What I need is the Data Folder Syn...
- 2023-11-26 18:04
- Forum: General discussions
- Topic: AWS SES SMTP - 554 Transaction failed: Empty address
- Replies: 25
- Views: 1337
Re: AWS SES SMTP - 554 Transaction failed: Empty address
EnqueueWrite_(); is responsible for what you see in the logs, so swapping those two lines does nothing to improve that, actually the opposite as it is called later if you swap them (although impact is nihil) So if I tell you that the value of "current_state_" is "PASSWORDSENT" when calling "Enqueue...
- 2023-11-26 18:01
- Forum: General discussions
- Topic: Where/how can I change the server max message size?
- Replies: 6
- Views: 269
Re: Where/how can I change the server max message size?
in my setup ( 5.6.8-B2574 ) i can set Max size in SMTP [settings][Protocols][smtp]: max message size for "the server" AND i can overrule that size setting for a domain [domains]["mydomain"][limits] max message size by setting a bigger size ( just as it should be.. ) But server WILL communicate the ...
- 2023-11-26 14:10
- Forum: General discussions
- Topic: Where/how can I change the server max message size?
- Replies: 6
- Views: 269
Re: Where/how can I change the server max message size?
what client ( i am not familiar with the graphics.. ) if a webmailclient, could it be a php or "client" restriction which is reported as server restriction? Where are you seeing these Alert Error messages. I think you have the use of the Max Message Size entry wrong. I believe the Max Message Size ...
- 2023-11-26 09:29
- Forum: General discussions
- Topic: AWS SES SMTP - 554 Transaction failed: Empty address
- Replies: 25
- Views: 1337
Re: AWS SES SMTP - 554 Transaction failed: Empty address
Well, the thing is that allthough it was a bug, fixing the bug does absolutely nothing for your problem. My tests showed that RCPT TO and MAIL FROM was actually sent ... We may actually have to look elsewhere to solve your problem. If memory serves me right I believe AWS had a problem at some point...
- 2023-11-25 14:20
- Forum: General discussions
- Topic: Where/how can I change the server max message size?
- Replies: 6
- Views: 269
Re: Where/how can I change the server max message size?
I think server wide setting overrule the account specific defined maxsize value, server wide settings are under SMTP protocol [edit] Should be other way around, eg: domain specific setting overrule server wide settings but that is kinda weird as the server already advertised the max allowed message ...
- 2023-11-25 03:37
- Forum: General discussions
- Topic: AWS SES SMTP - 554 Transaction failed: Empty address
- Replies: 25
- Views: 1337
Re: AWS SES SMTP - 554 Transaction failed: Empty address
Firstly, thanks for all the help. Secondly, I'm glad this turns out to be a bug because I was beginning to question my sanity :-) Well, the thing is that allthough it was a bug, fixing the bug does absolutely nothing for your problem. My tests showed that RCPT TO and MAIL FROM was actually sent ......
- 2023-11-24 13:06
- Forum: Feature requests
- Topic: Request for Two-Factor Authentication (2FA) Implementation
- Replies: 2
- Views: 358
- 2023-11-23 00:07
- Forum: General discussions
- Topic: AWS SES SMTP - 554 Transaction failed: Empty address
- Replies: 25
- Views: 1337
Re: AWS SES SMTP - 554 Transaction failed: Empty address
:!: OK, found the bug. These two lines should swap places. https://github.com/hmailserver/hmailserver/blob/master/hmailserver/source/Server/SMTP/SMTPClientConnection.cpp#L402-L403 I really don't see what swapping those two lines would fix? Am I missing something? The logic is flawed in SMTPClientCo...
- 2023-11-21 22:26
- Forum: General discussions
- Topic: AWS SES SMTP - 554 Transaction failed: Empty address
- Replies: 25
- Views: 1337
Re: AWS SES SMTP - 554 Transaction failed: Empty address

I really don't see what swapping those two lines would fix? Am I missing something?SorenR wrote: ↑2023-11-19 17:25OK, found the bug.
These two lines should swap places.
https://github.com/hmailserver/hmailser ... #L402-L403
- 2023-11-20 16:32
- Forum: General discussions
- Topic: AWS SES SMTP - 554 Transaction failed: Empty address
- Replies: 25
- Views: 1337
Re: AWS SES SMTP - 554 Transaction failed: Empty address
Firstly, thanks for all the help. Secondly, I'm glad this turns out to be a bug because I was beginning to question my sanity :-) Well, the thing is that allthough it was a bug, fixing the bug does absolutely nothing for your problem. My tests showed that RCPT TO and MAIL FROM was actually sent ......
- 2023-11-14 11:27
- Forum: General discussions
- Topic: Remote Procedure Call Failed Exception
- Replies: 2
- Views: 192
Re: Remote Procedure Call Failed Exception
My guess is it crashes only hMailServer Administrator, not the server itself. Without knowing more details, one of the first things that come to mind is this might be related to a character issue in either the DNS blacklist name and/or defined error message, try to use ASCII text only and don't try ...
- 2023-11-07 12:09
- Forum: User contributed hMailServer 5 scripts
- Topic: Block attachments in .zip files
- Replies: 44
- Views: 21431
Re: Block attachments in .zip files
v1.1.0.5 that handles the System.NullReferenceException if no valid service name is passed along (and requires at least Administrator rights, eg: to write to EventLog)
- 2023-11-07 11:29
- Forum: User contributed hMailServer 5 scripts
- Topic: Block attachments in .zip files
- Replies: 44
- Views: 21431
Re: Block attachments in .zip files
IMAPS is not a valid service identifier, and should be lowercase as well (i think), eg: imap
http://www.blocklist.de/en/download.html#services
[edit] Lowercase or uppercase doesn't matter
http://www.blocklist.de/en/download.html#services
[edit] Lowercase or uppercase doesn't matter
- 2023-11-07 10:56
- Forum: User contributed hMailServer 5 scripts
- Topic: Block attachments in .zip files
- Replies: 44
- Views: 21431
Re: Block attachments in .zip files
That error really doesn't reveal much, nor can i reproduce your error.
What is shown when you run it from command line with -v parameter added?
What is shown when you run it from command line with -v parameter added?
- 2023-11-07 10:17
- Forum: User contributed hMailServer 5 scripts
- Topic: Block attachments in .zip files
- Replies: 44
- Views: 21431
Re: Block attachments in .zip files
Check and verify these: The executable isn't blocked within Windows (As the executable is downloaded from the internet)? hMailServer runs under the Local System account? As it needs proper rights, to write to the EventLog. TLS 1.2 (and/or TLS 1.3) enabled within Windows? fail2ban requires at least T...
- 2023-11-06 12:38
- Forum: User contributed hMailServer 5 scripts
- Topic: Block attachments in .zip files
- Replies: 44
- Views: 21431
- 2023-11-06 12:29
- Forum: User contributed hMailServer 5 scripts
- Topic: Block attachments in .zip files
- Replies: 44
- Views: 21431
- 2023-11-06 12:20
- Forum: User contributed hMailServer 5 scripts
- Topic: Block attachments in .zip files
- Replies: 44
- Views: 21431
Re: Block attachments in .zip files
I think v.1.0.0.3 fixes the issue you had, earlier version used a embedded version Interop.hMailServer.dll which apparently was no longer compatible
- 2023-11-06 12:11
- Forum: User contributed hMailServer 5 scripts
- Topic: Block attachments in .zip files
- Replies: 44
- Views: 21431
Re: Block attachments in .zip files
Maybe you should try to run it from command line with a random message from copied from /Data directory, as the logging is not what what i expected it to be 

Code: Select all
ZipScanner_debug.exe -u="Administrator" -p="{PASSWORD}" -z -b -f="{70B2C2A0-23CB-4620-8343-E7EB35B40AFF}.eml" -v
- 2023-11-06 12:04
- Forum: User contributed hMailServer 5 scripts
- Topic: Block attachments in .zip files
- Replies: 44
- Views: 21431
Re: Block attachments in .zip files
Can you please try attached version of zipscanner? note: this version requires Interop.hMailServer.dll (from hMailServer\Bin) to be copied and to be present next to the ZipScanner executable(s) ZipScanner_debug.exe logs to file (in \Logs folder relatively to ZipScanner_debug.exe executable path) and...
- 2023-11-06 11:23
- Forum: User contributed hMailServer 5 scripts
- Topic: Block attachments in .zip files
- Replies: 44
- Views: 21431
- 2023-11-06 10:13
- Forum: User contributed hMailServer 5 scripts
- Topic: Block attachments in .zip files
- Replies: 44
- Views: 21431
Re: Block attachments in .zip files
Hello @Rvdh, Lately I am getting errors as below in evenviewer and tried different versions of .dot net but still the error stays, can you please advise how to resolve. ZipScanner.exe Application: ZipScanner.exe Framework Version: v4.0.30319 Description: The process was terminated due to an interna...
- 2023-11-06 10:08
- Forum: Off-topic discussions
- Topic: Nation State Hackers Exploiting Zero-Day in Roundcube Webmail Software
- Replies: 11
- Views: 1361
Re: Nation State Hackers Exploiting Zero-Day in Roundcube Webmail Software
https://github.com/roundcube/roundcubemail/releases/tag/1.6.5 Roundcube Webmail 1.6.5 This is a security update to the stable version 1.6 of Roundcube Webmail. It provides a fix to a recently reported XSS vulnerability: Fix cross-site scripting (XSS) vulnerability in setting Content-Type/Content-Dis...
- 2023-11-05 22:35
- Forum: General discussions
- Topic: hMailServer only in local network for archive
- Replies: 4
- Views: 268
Re: hMailServer only in local network for archive
How and when is VBScript used in mails? My standard mail client is Windows Mail Vista (running on W11); and Google accounts are accessed by Thunderbird. From TB the mails are moved into folders of an account residing on hMailServer to access the mails in WinMail Vista. GMail-Accounts are avoided to...
- 2023-11-05 09:58
- Forum: General discussions
- Topic: What domain does SSL need to be if hosting more than 1 domain email?
- Replies: 8
- Views: 527
Re: What domain does SSL need to be if hosting more than 1 domain email?
What most do and what is very common for e-mail servers hosting multiple domains, pick one domain, eg: define a primary domain which you make a SSL for use within hMailserver certificate for, matching the MX name then for a primary.domain, do: A: Ipaddress for mail.primary.domain MX: mail.primary.do...
- 2023-11-05 09:25
- Forum: Development & alpha discussions
- Topic: hMailServer X
- Replies: 111
- Views: 26131
Re: hMailServer X
To Dravion: You should set up your own website and forum. When Martin has seen enough of this childish behavior from some people he can blow up the chaos on this website and forum. Your forum, your decision who is in or out and your decision what the website looks like. I would change the name. Hma...
- 2023-11-05 01:02
- Forum: Development & alpha discussions
- Topic: hMailServer X
- Replies: 111
- Views: 26131
Re: hMailServer X
Only thing what you currently doing is more or less being elbow deep inside Dravion's arse How elegant!... I will refrain from commenting in this topic from now on You will be dearly missed. Now, let's move on. No need to be elegant when arguing with nobodies :roll: But if you want i can go on with...
- 2023-11-04 21:32
- Forum: Development & alpha discussions
- Topic: hMailServer X
- Replies: 111
- Views: 26131
Re: hMailServer X
Everything he proposes results in something that is NOT hMailserver so it doesn't deserve a spot and audience here, simple as that! @Paulo Meireles, what is that you contributed to this project exactly? (...) maybe it is smart to keep quite in your case, go back to be a lurker. The only person that...
- 2023-11-04 18:18
- Forum: Development & alpha discussions
- Topic: hMailServer X
- Replies: 111
- Views: 26131
Re: hMailServer X
@moderators, i believe this topic deserves no place on these forum(s)... as in all honesty once (and if ever) completed it just isn't related to hMailServer whatsoever Please don't. You are free to not provide your time and effort for something in which you do not believe. This is what "open source...
- 2023-11-04 12:20
- Forum: Development & alpha discussions
- Topic: hMailServer X
- Replies: 111
- Views: 26131
Re: hMailServer X
We will see :D Please prove me wrong, but you reputation, especially regarding completing projects is't just that, you know... this is your 3th attempt if i remember correctly? :oops: :oops: :P :P :oops: :oops: @moderators, i believe this topic deserves no place on these forum(s)... as in all hones...
- 2023-11-04 12:06
- Forum: Development & alpha discussions
- Topic: hMailServer X
- Replies: 111
- Views: 26131
Re: hMailServer X
Hmm, strange that these examples can access a hmsx instance without a COM API. How do you think they do that? https://github.com/hMailServer-X/hmsx/tree/main/Examples For example from python: import ssl # Define host and port host = '220.240.130.70' port = 9999 # Create the SSL context and disable ...
- 2023-11-04 11:53
- Forum: Development & alpha discussions
- Topic: hMailServer X
- Replies: 111
- Views: 26131
Re: hMailServer X
Maybe there are indeed a few more people who like the idea then you think https://www.winehq.org/search?q=hmailserver https://www.reddit.com/r/linuxquestions/comments/u9jeol/hmailserver_for_linux/ Lol, really that is all you can come up with? These pages literally list 2, maybe 3 unique users seeki...
- 2023-11-04 10:36
- Forum: Development & alpha discussions
- Topic: hMailServer X
- Replies: 111
- Views: 26131
- 2023-11-04 10:16
- Forum: Development & alpha discussions
- Topic: hMailServer X
- Replies: 111
- Views: 26131
Re: hMailServer X
As for priorities... Whoever is in charge gets to define them. When it's paid work, "being in charge" means paying in order for certain things to be done first. When it's volunteer work and every person is in charge of their own time... it doesn't work the same way. And now look what that have brou...
- 2023-11-04 09:57
- Forum: Development & alpha discussions
- Topic: hMailServer X
- Replies: 111
- Views: 26131
Re: hMailServer X
Well it *could* be a way to attract new resources with those skills as we can all agree on non of us have the required skills or experience. That is very optimistic, why would a Linux developer invest time and efforts into something that is, feature wise, inferior to existing alternatives? Really c...
- 2023-11-04 00:46
- Forum: Development & alpha discussions
- Topic: hMailServer X
- Replies: 111
- Views: 26131
Re: hMailServer X
It is all about priorities, multi OS support should not be the main priority at this stage, there are more important things to fix, add or replace but it seems most here are either to dumb to see the obvious or refuse to accept the real issue with hmailserver isn't the lack of multi OS support. Why ...
- 2023-11-03 20:09
- Forum: Development & alpha discussions
- Topic: hMailServer X
- Replies: 111
- Views: 26131
Re: hMailServer X
No. What exactly do you mean? If you have to ask this project undoubtedly will fail miserably The code itself is outdated, lacks modern smtp and imap features/extensions that should be more important than the need/desire to port it to Linux for examplle, you failing to see that as the real issue is...
- 2023-11-03 19:54
- Forum: Development & alpha discussions
- Topic: hMailServer X
- Replies: 111
- Views: 26131
Re: hMailServer X
The Main target toolchain will be the GNU C/C++ Compiler bc it has many advantages over Visual C/C++ so even the tools we use are Open Source and will be open and available even in 20 yrs while Microsoft let's Visual Studio deprecate after a few yrs. But we use Open Source CMake Build system which ...
- 2023-11-03 13:46
- Forum: Development & alpha discussions
- Topic: hMailServer X
- Replies: 111
- Views: 26131
Re: hMailServer X
The Roadmap is simple: 1) Removing all Windows only code 2) Replace VB with LUA (internal scripting) 3) Focussing on Standard compliant code 4) Standard compliant code compiles allmost anywhere And its not my free will or cherry picking if i remove MS-SQL support bc it depends on COM which is Windo...
- 2023-11-03 12:47
- Forum: Development & alpha discussions
- Topic: hMailServer X
- Replies: 111
- Views: 26131
Re: hMailServer X
@RvdH, Do you see hMailServer surviving the next few years - meaning having a few updates, eventually new functionality, and dependencies from defunct code being adddressed? I do not. No, i do not....but porting to Linux or Mac OSX doesn't change a thing about that, does it? Where is Dravion's road...