hMailServer 4.3, build 229

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: 6837
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

hMailServer 4.3, build 229

Post by martin » 2006-08-13 21:18

This build tries to address the problem with randomly stopping SMTP servers. I have been able to reproduce the problem myself and think I've found the problem that caused it.

Build available here:
http://dev.hmailserver.com/hMailServer-4.3-B229.exe
Last edited by martin on 2006-08-22 08:20, edited 5 times in total.

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Post by ^DooM^ » 2006-08-13 21:21

Woohoo, and you wanted to give up on this too :P

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

Post by martin » 2006-08-13 21:46

It's not solved yet.. for sure... :) I've simulated hundreds of thousands of conenctions without getting the problem now, but I had to rewrite some central parts of the code to get it to work so I might have introduced a new issue. But now I think I got a complete picture of how it works. Even those parts left out in Microsofts documentation..

And yes, for a few minutes now and then I've felt like giving up on this issue and revert the code. But after resting for a few hours and coming to my senses again, I've started working on it again. =)

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Post by ^DooM^ » 2006-08-13 22:05

And it is greatly appreciated :)

I have this new build running on my dev box atm with no issues. I will let you know If I come across anything.

Cheers ;)

DarkArc
New user
New user
Posts: 14
Joined: 2006-08-08 00:30

Post by DarkArc » 2006-08-13 22:53

Thanks for the support for sent since and imap idle :)

Both working well here (and if I see any smtp problems I will get details).

Tekl
Normal user
Normal user
Posts: 30
Joined: 2006-01-05 13:19

Post by Tekl » 2006-08-17 12:06

How stable is this alpha-version? If it cause data-loss how does the loss look like? Only Database? Or does it delete Data-Files, so that I can't get back the mails with the DataDirectorySynchronizer?

westdam
Senior user
Senior user
Posts: 728
Joined: 2006-08-01 21:24
Location: Padova, Italy
Contact:

Post by westdam » 2006-08-17 13:10

upgraded to latest beta too.

DarkArc
New user
New user
Posts: 14
Joined: 2006-08-08 00:30

Post by DarkArc » 2006-08-17 16:45

Four days and no SMTP problem or outlook timeout... :)

Aldoir
Normal user
Normal user
Posts: 59
Joined: 2005-12-01 12:20

Post by Aldoir » 2006-08-17 21:22

Tekl,

I'm using in production without problems. Particulary, I've never experienced the problems reported here.

cveillon
Normal user
Normal user
Posts: 88
Joined: 2006-01-31 23:56
Location: Roy, UT USA

Post by cveillon » 2006-08-17 22:18

Same here, four days and no more SMTP problems (*holding breath).
hMailServer 4.4.1-B273 Built-in MySQL
3 ea prod mx servers on XP Home, 1 ea on Win2k

M Lu
New user
New user
Posts: 28
Joined: 2006-01-18 00:47

Re: hMailServer 4.3, build 229

Post by M Lu » 2006-08-18 06:09

martin wrote:This build tries to address the problem with randomly stopping SMTP servers. I have been able to reproduce the problem myself and think I've found the problem that caused it.

Build available here:
http://dev.hmailserver.com/hMailServer-4.3-B229.exe
After testing B225 briefly with only 1 domain and I did not encounter the SMTP problems, I decided to update to this build today on my real server with several domains. The upgrade was very smooth.

Martin, thank you very much for all hard work.

The main reason for me to upgrade are the new features for the distribution list and spamming. I would like to get rid of the messages with invalid line endings so I unchecked the line "Allow incorrectly formatted line endings" in SMTP tab.

I also saw the next line saying "Disconnect client after too many invalid commands". I do not understand the meaning as well as why the default max number of invalid is set to 100. Can somebody explain to me what invalid commands are?

Thank you.

Aldoir
Normal user
Normal user
Posts: 59
Joined: 2005-12-01 12:20

Post by Aldoir » 2006-08-18 13:51

I'm not sure, but I think it is to prevent spammers to do brute force attacks against your SMTP server trying to discover addresses..

I think this number should be lower by default, eg 10 times, and plus black list its IP address for at least 1 min

M Lu
New user
New user
Posts: 28
Joined: 2006-01-18 00:47

Post by M Lu » 2006-08-18 15:36

Aldoir wrote:I'm not sure, but I think it is to prevent spammers to do brute force attacks against your SMTP server trying to discover addresses..

I think this number should be lower by default, eg 10 times, and plus black list its IP address for at least 1 min
Ah, I see. You probably refer to the folowing messages in the log

SENT: 550 unknown user <name1@yourdomain.com>
SENT: 550 unknown user <name2@yourdomain.com>
...

And yes, there are a few in my log. One sender is looking to send to a bunch of invalid names.

I will turn it on.

Thanks.

GlenC
Senior user
Senior user
Posts: 680
Joined: 2004-08-17 23:31
Location: Santiago, Chile

Post by GlenC » 2006-08-18 21:39

Was trying to do an install on a machine at work and while building the database (external MySQL) it came up with an error (and sorry I don´t have the exact wording here) to the effect of "The specified key was too long, MySQL limits the length to 1000 bytes". I couldn´t go any further with the database creation, although it did appear to be created. Not sure why this error because I went back to a stable build and it installed with absolutely no problems (I had tried a clean install with the alpha two times with the same results). Anyway, sorry there isn´t more info but just thought I better post this. Oh, and this was on a W2003 server with MySQL 5.0.19.

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

Post by martin » 2006-08-18 22:45

GlenC, I'll give it a try tomorrow... To much beer in my body at the moment. ;)

GlenC
Senior user
Senior user
Posts: 680
Joined: 2004-08-17 23:31
Location: Santiago, Chile

Post by GlenC » 2006-08-19 00:54

it´s ok, not important for me at this time really. For this install we really only need basic email functionality... nothing too fancy. So, the stable version is more than adequate. I just wanted to make you aware of the problem (if it really is a problem).

Enjoy your beer... my turn comes Sunday :)

M Lu
New user
New user
Posts: 28
Joined: 2006-01-18 00:47

Post by M Lu » 2006-08-20 17:40

I got a strange error with B229. Yesterday I telnet from the outside to send mail manually for quick testing the ASSP greylisting feature. The message format is not correct because lack of headers.

Then when I checked mail with MS Outlook, it always stopped in between with the message

Task 'MyMail - Receiving' reported error (0x800CCC0F) : 'The connection to the server was interrupted. If this problem continues, contact your server administrator or Internet service provider (ISP). The server responded: +OK 487 octets'

I scratched my hair until I used WebMail and saw ill-formatted message. When I moved that message out of Inbox fokder, then I could get mail.

Not sure if that a bug in Hmailserver or MS Outlook. I think probably Outlook because WebMail (squirell) works OK.

Martin, in case you want, I can send the bad message to you for checking.

Cheers.

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

Post by martin » 2006-08-20 18:02

Yeah, please send it to me at martin@hmailserver.com so that I can have a look at it.

random
Normal user
Normal user
Posts: 108
Joined: 2006-07-16 09:51
Location: Germany

Post by random » 2006-08-20 19:56

Hi,

I don't know if that is important (maybe it's not).

Got a (for me) strange error log yesterday:
"ERROR" 3760 "2006-08-19 18:51:10.890" "Source: MimeBody::LoadFromFile, Code: HM4228 Description: An error occured while loading message. File: C:\Programme\hMailServer\Data\{E62F5CDB-7436-4C33-A3D6-3A238C0F6075}.eml"

But that file doesn't exist anymore. :(
I don't know how to find that message and check it.
Database delivery log was off, sorry.

cu
random

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

Post by martin » 2006-08-20 20:02

That error means that hMailServer was unable to mime-decode a file. It normally means that hMailServer won't be able to apply rules on the message. Perhaps you can find the message if you search the sub folders for it. I guess it's spam but I would apprecaite a copy of it.

random
Normal user
Normal user
Posts: 108
Joined: 2006-07-16 09:51
Location: Germany

Post by random » 2006-08-20 20:37

martin wrote:Perhaps you can find the message if you search the sub folders for it.
Nope, there is no file named "{E62F5CDB-7436-4C33-A3D6-3A238C0F6075}". Sorry.
But I use the forwarding-feature (with "keep original message"). Maybe that was a forwarded message?

And I have to confess that I did send about 4.000 mails from that instance of hMailServer (B229) to another hMailserver (B199) using that forwarding-feature of B229, just to try something out. 8)

cu
random

Edit: The other instance of hMailserver (B199) does not show any error log.

Post Reply