hMailServer 4.4, Build 260 (Alpha)

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:

hMailServer 4.4, Build 260 (Alpha)

Post by martin » 2007-02-11 22:10

New alpha available here:
http://download.hmailserver.com/hMailSe ... 4-B260.exe

Following changes have been made:
  • API: It's now possible to check the current number of delivery attempts by accessing the DeliveryAttempt property on the hMailServer.Message object.
  • API: It's now possible to access headers by name, by calling Headers.ItemByName("Name") on the hMailServer.Message object to retrieve a hMailServer.MessageHeader object.
  • Feature (minor): It's now possible to configure how many times hMailServer should try to connect to the database server during start-up.
    See http://www.hmailserver.com/documentatio ... lesettings (ConnectionAttempts, ConnectionAttemptsDelay)
  • Bugfix: If a user added a message to a mailbox (for example Sent items), but disconnected before it had completed, an orphaned message was left in the data directory.
  • Bugfix: If displaying of notices were enabled in PHP, it was not possible to add domains to PHPWebAdmin.
  • Bugfix: If a non-existant account had been specified as mirror address, hMailServer now prevents looping.
  • Bugfix: Issue 80, If no subject had been specified in the auto-reply settings, the subject on the reply email always became "Re:".
  • Bugfix: Issue 82, Timeouts during DNS queries previously sometimes lead to message marked as spam.
  • Bugfix: Issue 83, If a password contained a \, it was not possible to log on POP3 (never has been).
  • Misc/Bugfix: A change has been made to the garbage collection algorithm to make it a bit more stable.
Last edited by martin on 2007-02-24 16:28, edited 2 times in total.

User avatar
Slug
Moderator
Moderator
Posts: 1369
Joined: 2005-03-13 05:42
Location: Sydney Australia
Contact:

Re: hMailServer 4.4, Build 260 (Alpha)

Post by Slug » 2007-02-12 06:17

martin wrote: [*]Misc/Bugfix: A change has been made to the garbage collection algorithm to make it a bit more stable.
What does this mean ???

Michael
Missing Hmailserver ... Now running Debian servers

dj02
Normal user
Normal user
Posts: 54
Joined: 2006-11-29 19:44
Location: Helsinki - Finland
Contact:

Post by dj02 » 2007-02-12 11:38

Hi,

I have had problems sometime in hMailServer 4.4, Build 25x and hMailServer 4.3, Build 253.

I have two domains in server: finetworks.fi and profit.finetworks.fi. When i try to add user to profit.finetworks.fi sometimes it will add it but sometimes when i try to add it phpWebAdmin/webmail/hMailServer Logs... says username or password wrong. I haveto delete and add the user few times that it works.
By,

Mika (Finland)
_________________
hMailServer 5.3.3 B1879, External MySQL 5.1.54 | SpamAssassin 3 |
Win 7 SP0 x64 | Apache 2.2.17 | F-Secure IS 10 | PHP/PECL 5.3.5 | RoundCube 0.5

User avatar
Slug
Moderator
Moderator
Posts: 1369
Joined: 2005-03-13 05:42
Location: Sydney Australia
Contact:

Post by Slug » 2007-02-12 12:03

One more thing, In the docs it says;

# ConnectionAttempts - The number of times hMailServer should try to connect to the database before giving up on start-up. Default 6 times. (hMailServer 4.4 and later)
# ConnectionAttemptsDelay - The number of seconds hMailServer should pause between each connection attempt during start-up. Default 5 seconds. (hMailServer 4.4 and later)

I have just upgraded from B259 to B260 and I can not see anything in the ini file about this. So my question is If nothing is in the ini file are the above defaults used, and if I wish to change these defaults then I would need to insert the above in myself ??

Michael
Missing Hmailserver ... Now running Debian servers

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

Post by martin » 2007-02-12 13:32

Slug, it's an change to make a specific algorithm more stable which may prevent some crashes. Doesn't matter for 99.9% of all installations. And yes, you'll have to add those two settings yourself. The default values in hMailServer should work fine. So far only a single user has reported that they don't work at all for him. If I added the settings to hMailServer.ini, I suspect that users who doesn't have to change them would start to change them into strange ways anyway and get them self into problems... :)

dj02, do you get the same problem when trying to log on using a normal email client? Or only when using web applications such as PHPWebAdmin and your webmail system? If it only applies to your webmail system it could be cookie related. hMailServer doesn't have any specific behaviour for sub-domains so from hMailServers point of view profit.finetworks.fi is a completely separate domain from finetworks.fi.

User avatar
Slug
Moderator
Moderator
Posts: 1369
Joined: 2005-03-13 05:42
Location: Sydney Australia
Contact:

Post by Slug » 2007-02-12 13:42

martin wrote:If I added the settings to hMailServer.ini, I suspect that users who doesn't have to change them would start to change them into strange ways anyway and get them self into problems... :)
No worries, I have never had any issues so I will leave it alone :D

Just being nosy.

Michael
Missing Hmailserver ... Now running Debian servers

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

Post by westdam » 2007-02-12 17:05

hi martin
what about the AD directory password trouble with strange chars on pswd?

bye

dj02
Normal user
Normal user
Posts: 54
Joined: 2006-11-29 19:44
Location: Helsinki - Finland
Contact:

Post by dj02 » 2007-02-12 17:10

E-mail client says same.

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

Post by martin » 2007-02-12 19:42

westdam, can you point me in the right direction about that? :)

dj02, strange strange. Sorry to ask but are you certain that you enter the correct password? I don't see how the behavior would differ if you add the account once or twice. I mean, it's the exact same code which is run. :-\

dj02
Normal user
Normal user
Posts: 54
Joined: 2006-11-29 19:44
Location: Helsinki - Finland
Contact:

Post by dj02 » 2007-02-12 19:45

Yes, copied from notepad. Because sometimes (when it says wrong username or password) added user doesn't list in phpWebAdmin, only in the program.

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

Post by martin » 2007-02-12 19:48

Hmm. Is the user name containing any special characters? (outside the range A-Z 0-9)

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

Post by westdam » 2007-02-12 20:16

hehe ok martin it was the Active Directory special chars problem with the password ( and i think username ) field. I've used the \ char on my AD password and hmailserver doesnt accept it . ( simply it add another \ char on the password log )

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

Post by martin » 2007-02-12 20:17

Have you tried using this build?

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

Post by westdam » 2007-02-12 20:17

mmm it was this i think
http://www.hmailserver.com/devnet/?page ... issueid=83


ok martin i try asap.

sorry for bothering you...i've just read the issue tracker and on the changelog i' havent seen it.

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

Post by martin » 2007-02-12 20:42

Forgot to add it to the change log. Have added it now.

tonda
Normal user
Normal user
Posts: 93
Joined: 2006-10-20 14:13
Location: CZ

Post by tonda » 2007-02-12 23:05

Maybe bug?
I have antivirus configured so, that when virus is found, message is deleted. When this situation occurs, error HM4403 Could not read message header since file was not available arises:

"DEBUG" 3732 "2007-02-12 22:03:05.406" "ClamWinVirusScanner::Scan() - C:\Program Files\ClamAV\clamdscan.exe --database="C:\Program Files\ClamAV\data" "{56A7D191-BAAB-483E-BDD6-BCB35A2ABFB6}.eml" --tempdir="C:\WINNT\Temp" - Returned 1"
"DEBUG" 3732 "2007-02-12 22:03:05.453" "ClamWinVirusScanner::~Scan()"
"APPLICATION" 3732 "2007-02-12 22:03:05.453" "SMTPDeliverer - Message 65291: Message deleted (contained virus)."
"DEBUG" 3732 "2007-02-12 22:03:05.453" "PersistentMessage::DeleteObject()"
"DEBUG" 3732 "2007-02-12 22:03:05.500" "PersistentMessage::DeleteFile()"
"DEBUG" 3732 "2007-02-12 22:03:05.500" "PersistentMessage::~DeleteFile() - E3"
"DEBUG" 3732 "2007-02-12 22:03:05.500" "PersistentMessage::DeleteObject() - E5"
"APPLICATION" 3732 "2007-02-12 22:03:05.500" "Source: Message::GetHeader(), Code: HM4403, Description: Could not read the message header, since the file was not available. D:\maildata\{56A7D191-BAAB-483E-BDD6-BCB35A2ABFB6}.eml"
"DEBUG" 3732 "2007-02-12 22:03:05.500" "AWStats::LogDeliveryFailure"

dj02
Normal user
Normal user
Posts: 54
Joined: 2006-11-29 19:44
Location: Helsinki - Finland
Contact:

Post by dj02 » 2007-02-13 15:00

martin wrote:Hmm. Is the user name containing any special characters? (outside the range A-Z 0-9)
Noup. I went back to hMailServer 4.3.1 Build 253. It seems that v4.3.1 works well. So the problem is not in v4.3.1.


Second thing: Why cannot Intagrated MySQL run in unstandard port? Because i would want mailserver to run on different MySQL than the MySQL server i have for customers in standard port. Services.msc says when i tried that hmailserver-service needs MySQL-Service to work but it should say when using integrated MySQL that it needs hmailserver-database?-server to work. I tried to install integdated mysql to port 3307.
By,

Mika (Finland)
_________________
hMailServer 5.3.3 B1879, External MySQL 5.1.54 | SpamAssassin 3 |
Win 7 SP0 x64 | Apache 2.2.17 | F-Secure IS 10 | PHP/PECL 5.3.5 | RoundCube 0.5

bazporter
Normal user
Normal user
Posts: 98
Joined: 2005-06-03 16:14

Post by bazporter » 2007-02-13 19:41

tonda wrote:Maybe bug?
I have antivirus configured so, that when virus is found, message is deleted. When this situation occurs, error HM4403 Could not read message header since file was not available arises:

"DEBUG" 3732 "2007-02-12 22:03:05.406" "ClamWinVirusScanner::Scan() - C:\Program Files\ClamAV\clamdscan.exe --database="C:\Program Files\ClamAV\data" "{56A7D191-BAAB-483E-BDD6-BCB35A2ABFB6}.eml" --tempdir="C:\WINNT\Temp" - Returned 1"
"DEBUG" 3732 "2007-02-12 22:03:05.453" "ClamWinVirusScanner::~Scan()"
"APPLICATION" 3732 "2007-02-12 22:03:05.453" "SMTPDeliverer - Message 65291: Message deleted (contained virus)."
"DEBUG" 3732 "2007-02-12 22:03:05.453" "PersistentMessage::DeleteObject()"
"DEBUG" 3732 "2007-02-12 22:03:05.500" "PersistentMessage::DeleteFile()"
"DEBUG" 3732 "2007-02-12 22:03:05.500" "PersistentMessage::~DeleteFile() - E3"
"DEBUG" 3732 "2007-02-12 22:03:05.500" "PersistentMessage::DeleteObject() - E5"
"APPLICATION" 3732 "2007-02-12 22:03:05.500" "Source: Message::GetHeader(), Code: HM4403, Description: Could not read the message header, since the file was not available. D:\maildata\{56A7D191-BAAB-483E-BDD6-BCB35A2ABFB6}.eml"
"DEBUG" 3732 "2007-02-12 22:03:05.500" "AWStats::LogDeliveryFailure"
I'm seeing the same problem too, but it also affects SURBL positives too as can be seen below:

Code: Select all

"DEBUG"	1872	"2007-02-13 09:27:18.721"	"CustomVirusScanner::Scan() - "C:\Program Files\ESET\nod32.exe" /quit+ /selfcheck- /list+ /scanfile+ /scanboot- /scanmbr- /scanmem- /arch+ /sfx+ /pack+ /mailbox+ /ntfs- /sound- /pattern+ /heur+ /ah /adware /unsafe /log+ /logappend /log=C:\Logs\NOD32.log "C:\Program Files\hMailServer\Data\{79D8A623-1FEF-42D3-8CB3-DCCD74946E9C}.eml" - Returned 0"
"DEBUG"	1872	"2007-02-13 09:27:18.721"	"CustomVirusScanner::~Scan()"
"DEBUG"	1872	"2007-02-13 09:27:18.721"	"SURBL::Run"
"DEBUG"	1872	"2007-02-13 09:27:18.752"	"SURBL::~Run"
"APPLICATION"	1872	"2007-02-13 09:27:18.752"	"SMTPDeliverer - Message 338893: Message deleted during spam protection: Rejected. IP Address found in multi.surbl.org"
"DEBUG"	1872	"2007-02-13 09:27:18.752"	"PersistentMessage::DeleteObject()"
"DEBUG"	1872	"2007-02-13 09:27:18.752"	"PersistentMessage::DeleteFile()"
"DEBUG"	1872	"2007-02-13 09:27:18.752"	"PersistentMessage::~DeleteFile() - E3"
"DEBUG"	1872	"2007-02-13 09:27:18.752"	"PersistentMessage::DeleteObject() - E5"
"APPLICATION"	1872	"2007-02-13 09:27:18.752"	"Source: Message::GetHeader(), Code: HM4403, Description: Could not read the message header, since the file was not available. C:\Program Files\hMailServer\Data\{79D8A623-1FEF-42D3-8CB3-DCCD74946E9C}.eml"
"DEBUG"	1872	"2007-02-13 09:27:18.752"	"AWStats::LogDeliveryFailure"
--
Regards
Barry

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

Post by ^DooM^ » 2007-02-13 21:16

dj02 wrote: Second thing: Why cannot Intagrated MySQL run in unstandard port? Because i would want mailserver to run on different MySQL than the MySQL server i have for customers in standard port. Services.msc says when i tried that hmailserver-service needs MySQL-Service to work but it should say when using integrated MySQL that it needs hmailserver-database?-server to work. I tried to install integdated mysql to port 3307.
Build-in MySQL uses 3307 port so it doesn't conflict with any default installs of MySQL already running on a machine.
If at first you don't succeed, bomb disposal probably isn't for you! ヅ

ravensorb
Normal user
Normal user
Posts: 62
Joined: 2006-09-09 00:56

Problem with mostrecent alpha version

Post by ravensorb » 2007-02-14 04:43

I upgraded yesterday to the latest alpha and now I am getting the following when trying to check my mail

-----

Task '1) sanderson@eye-catcher.com - Receiving' reported error (0x80042110) : 'Your POP3 server is providing inconsistent information. The number of messages returned by the STAT command does not match the number of items returned by the UIDL or LIST commands. Contact your POP3 or Internet service provider.'

---

One thing to note, I have 2 clients. The first uses POP3 and the second uses IMAP4. Not sure if this matters, but I think the last thing I did was delete some messages via IMAP and now the POP3 client is not working.

ravensorb
Normal user
Normal user
Posts: 62
Joined: 2006-09-09 00:56

Re: Problem with mostrecent alpha version

Post by ravensorb » 2007-02-14 05:03

ravensorb wrote:I upgraded yesterday to the latest alpha and now I am getting the following when trying to check my mail

-----

Task '1) sanderson@eye-catcher.com - Receiving' reported error (0x80042110) : 'Your POP3 server is providing inconsistent information. The number of messages returned by the STAT command does not match the number of items returned by the UIDL or LIST commands. Contact your POP3 or Internet service provider.'

---

One thing to note, I have 2 clients. The first uses POP3 and the second uses IMAP4. Not sure if this matters, but I think the last thing I did was delete some messages via IMAP and now the POP3 client is not working.
As an update, I found that if I force a send/recieve on the IMAP4 client, I was then able to download via the POP3 client.

This seems to be something new as I just tried the same series of events using the 4.3 build and didn't run into an issues.

ravensorb
Normal user
Normal user
Posts: 62
Joined: 2006-09-09 00:56

Re: Problem with mostrecent alpha version

Post by ravensorb » 2007-02-24 04:55

Martin, I could really use some help with this one as I have started to get a lot of reports from users experiencing this issue -- and right now I cannot even seem to find a temporary fix.
ravensorb wrote:
ravensorb wrote:I upgraded yesterday to the latest alpha and now I am getting the following when trying to check my mail

-----

Task '1) sanderson@eye-catcher.com - Receiving' reported error (0x80042110) : 'Your POP3 server is providing inconsistent information. The number of messages returned by the STAT command does not match the number of items returned by the UIDL or LIST commands. Contact your POP3 or Internet service provider.'

---

One thing to note, I have 2 clients. The first uses POP3 and the second uses IMAP4. Not sure if this matters, but I think the last thing I did was delete some messages via IMAP and now the POP3 client is not working.
As an update, I found that if I force a send/recieve on the IMAP4 client, I was then able to download via the POP3 client.

This seems to be something new as I just tried the same series of events using the 4.3 build and didn't run into an issues.

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

Post by martin » 2007-02-24 10:40

I'll look into it today. Of some reason I missed the fact that you had added a message here.

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

Post by martin » 2007-02-24 11:58

I'll put up a build later today fixing the issues mentioned in this thread so far.

tsandecl
New user
New user
Posts: 10
Joined: 2006-10-17 22:20

pop3 timeout

Post by tsandecl » 2007-02-26 21:44

Guys,
Having same problem with pop3 timeout on some accounts. I upgraded to hmailserver 4.4 trying to solve it but to no avail. Here is my pop3 log on an account that is having a problem:
"POP3D" 3440 6121 "2007-02-26 13:37:33.687" "12.198.184.76" "SENT: +OK POP3"
"POP3D" 3440 6121 "2007-02-26 13:37:39.343" "12.198.184.76" "RECEIVED: USER ler"
"POP3D" 3440 6121 "2007-02-26 13:37:39.343" "12.198.184.76" "SENT: +OK Send your password"
"POP3D" 3440 6121 "2007-02-26 13:37:39.359" "12.198.184.76" "RECEIVED: PASS ***"
"POP3D" 3440 6121 "2007-02-26 13:37:39.359" "12.198.184.76" "SENT: +OK Mailbox locked and ready"
"POP3D" 3440 6121 "2007-02-26 13:37:39.375" "12.198.184.76" "RECEIVED: STAT"
"POP3D" 3440 6121 "2007-02-26 13:37:39.375" "12.198.184.76" "SENT: +OK 23 2648356"
"POP3D" 3440 6121 "2007-02-26 13:37:39.453" "12.198.184.76" "RECEIVED: LIST"
"POP3D" 3440 6121 "2007-02-26 13:37:39.453" "12.198.184.76" "SENT: +OK 23 messages (2648356 octets)"
"POP3D" 3440 6121 "2007-02-26 13:37:39.453" "12.198.184.76" "SENT: 1 27999[nl]2 37761[nl]3 15742[nl]4 56950[nl]5 24418[nl]6 77480[nl]7 31718[nl]8 1050755[nl]9 15444[nl]10 14515[nl]11 91149[nl]12 5465[nl]13 21779[nl]14 4148[nl]15 22373[nl]16 23980[nl]17 16568[nl]18 1052788[nl]19 14867[nl]20 30378[nl]21 4110[nl]22 3200[nl]23 4769[nl]."
"POP3D" 3440 6121 "2007-02-26 13:37:39.796" "12.198.184.76" "RECEIVED: RETR 1"
"POP3D" 3440 6121 "2007-02-26 13:37:39.796" "12.198.184.76" "SENT: +OK 27999 octets"
"POP3D" 3440 6121 "2007-02-26 13:37:39.796" "12.198.184.76" "SENT: ."
"POP3D" 3524 6121 "2007-02-26 13:37:42.125" "12.198.184.76" "RECEIVED: RETR 2"
"POP3D" 3524 6121 "2007-02-26 13:37:42.125" "12.198.184.76" "SENT: +OK 37761 octets"
"POP3D" 3524 6121 "2007-02-26 13:37:42.140" "12.198.184.76" "SENT: ."
"POP3D" 536 6121 "2007-02-26 13:37:42.468" "12.198.184.76" "RECEIVED: RETR 3"
"POP3D" 536 6121 "2007-02-26 13:37:42.468" "12.198.184.76" "SENT: +OK 15742 octets"
"POP3D" 536 6121 "2007-02-26 13:37:42.468" "12.198.184.76" "SENT: ."
"POP3D" 536 6121 "2007-02-26 13:37:43.718" "12.198.184.76" "RECEIVED: RETR 4"
"POP3D" 536 6121 "2007-02-26 13:37:43.718" "12.198.184.76" "SENT: +OK 56950 octets"
"POP3D" 536 6121 "2007-02-26 13:37:43.718" "12.198.184.76" "SENT: ."
"POP3D" 536 6121 "2007-02-26 13:37:44.218" "12.198.184.76" "RECEIVED: RETR 5"
"POP3D" 536 6121 "2007-02-26 13:37:44.218" "12.198.184.76" "SENT: +OK 24418 octets"
"POP3D" 536 6121 "2007-02-26 13:37:44.218" "12.198.184.76" "SENT: ."
Any ideas
Thanks

tsandecl
New user
New user
Posts: 10
Joined: 2006-10-17 22:20

Post by tsandecl » 2007-02-26 21:45

Sorry forgot to include that it hangs on the 5th email message.

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

Post by martin » 2007-02-26 22:26

Is it possible for me to connect to the account and test this myself? If so, please send me login info in a private message.

Could it be that there is some virus scanner or other software which blocks the traffic in some way?

tsandecl
New user
New user
Posts: 10
Joined: 2006-10-17 22:20

pop3 timeouts

Post by tsandecl » 2007-02-27 00:43

Sure where do you want me to send the info?

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

Post by martin » 2007-02-27 08:59

I received the info. I had no problems downloading the entire mailbox here. The log snippet you posted shows that hMailServer sends the entire fifth message to you.

Are you using any live virus scanners on the server or client? Or any bandwidth limiters or similar tools?

tsandecl
New user
New user
Posts: 10
Joined: 2006-10-17 22:20

pop3 timeout

Post by tsandecl » 2007-03-02 19:30

Problem turned out to be with a wi-fi radio. Rebooted radio and both customers are now working. Sorry for bothering you with this. Imap worked fine, but could not pop the boxes, would hang after downloading a few messages.

Post Reply