hMailServer 5.0, build 286 (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 5.0, build 286 (Alpha)

Post by martin » 2008-03-31 22:31

A new 5.0 alpha is now available:
http://download.hmailserver.com/dev/hMa ... 0-B286.exe

Following changes have been made:

hMailServer Administrator:
  • The "Enter password" dialog looked strange when using the "Windows XP style" theme.
  • Passwords for external accounts was not saved properly.
  • When adding a blocked attachment, duplicate items were shown in list.
  • It's now possible to double-click on a blocked attachment to edit it (wow!)
Server core:
  • Timestamps of messages downloaded from external POP3 servers were not correctly set.
  • If virus scanning wasn't enabled, blocked attachments were not removed from messages.

debarron
New user
New user
Posts: 8
Joined: 2007-07-11 06:29
Location: Illinois
Contact:

Re: hMailServer 5.0, build 286 (Alpha)

Post by debarron » 2008-04-01 03:12

I noticed when I first tried v5 (Build 285) and again when installing Build 286 that under the TCP/IP Ports, the SMTP port shows the title of the port as POP3.

Image

debarron
New user
New user
Posts: 8
Joined: 2007-07-11 06:29
Location: Illinois
Contact:

Re: hMailServer 5.0, build 286 (Alpha)

Post by debarron » 2008-04-01 03:47

Also when I tried to put the IP address of this machine in for each TCP/IP port, it would give me an unhandled exeption error when trying to save. It gave that error on every port setting. If I would hit continue, the IP would not change in the left screen but if I closed and reopened the Administrator Panel, the IP would be updated in the left panel. Running on Windows XP SP2 & .NET 2.0.

Actually just realized if you select "Use SSL" and select a previously imported certificate, it's fine. If you don't have "Use SSL" selected and save it gives the error below.

Image


I also noticed in the domain settings, the Catch-All email address domain box isn't showing the right side of the text box.

Image

debarron
New user
New user
Posts: 8
Joined: 2007-07-11 06:29
Location: Illinois
Contact:

Re: hMailServer 5.0, build 286 (Alpha)

Post by debarron » 2008-04-01 04:04

I also found a couple more things. :) In the external accounts, if you uncheck enabled and save, the account stays enabled. Secondly, if you change the name of a domain with accounts already created under it, the account's domain does not get updated to reflect the new name.

debarron
New user
New user
Posts: 8
Joined: 2007-07-11 06:29
Location: Illinois
Contact:

Re: hMailServer 5.0, build 286 (Alpha)

Post by debarron » 2008-04-01 04:16

I have a question too. How long is V5 expected to be in Alpha testing? We are looking to implement hMailServer as our total email solution at my work, currently using as an internal only email server using v4.4.1 B273 for around 100 users, and I like a lot of the new features in V5. The biggest feature I like is the ability to use SSL certificates. We are expected to make the switch from our hosted POP3 accounts to hMailServer in the beginning of July and I was hoping V5 might be ready by then.

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

Re: hMailServer 5.0, build 286 (Alpha)

Post by Slug » 2008-04-01 12:47

debarron wrote:I have a question too. How long is V5 expected to be in Alpha testing?
A while yet I would guess
We are expected to make the switch from our hosted POP3 accounts to hMailServer in the beginning of July and I was hoping V5 might be ready by then.
July you say, I think V5 will be in good enough shape for 100 users by then. But then again I think V5 is in good enough shape for 100 users now. Most of the issues I have seen with V5 have been with hMs admin, which unless you have been hiding under a log the last few months you would know Martin has totally rewritten it from scratch.

Michael
Missing Hmailserver ... Now running Debian servers

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

Re: hMailServer 5.0, build 286 (Alpha)

Post by Slug » 2008-04-01 13:31

There is an edge missing in the "distribution list" as well

Michael

Image
Missing Hmailserver ... Now running Debian servers

Carl
Normal user
Normal user
Posts: 111
Joined: 2008-03-18 17:33
Location: Utah, USA
Contact:

Re: hMailServer 5.0, build 286 (Alpha)

Post by Carl » 2008-04-01 16:57

Since we're going to nit-picky stuff now. :P

Where did the nice little text go on the status page(v4) that used to tell you the database type and version you were using?
Carl

98% of computer users know just enough to be dangerous, but not enough to be useful. I'm afraid I don't fall in the top 2%.

Kaan1983
Senior user
Senior user
Posts: 595
Joined: 2007-01-30 16:26
Location: TÜRKIYE

Re: hMailServer 5.0, build 286 (Alpha)

Post by Kaan1983 » 2008-04-01 18:35

Under the status tag.

Btw how bout placing a browser showing hMailServer Comunity page?
Or a customizable area?

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

Re: hMailServer 5.0, build 286 (Alpha)

Post by martin » 2008-04-01 20:29

The issues mentioned in this thread will be fixed in the next build (which I'll put up tomorrow).

Hard to say when it will be beta. I hope to be able to spend the upcoming weekend on testing the server and after that I hope and assume that it will be pretty stable and ready to turn beta...

July shouldn't be a problem as I see it. If I'm not done by than, I'll stop working as a developer. ;-) Kaan1983, I expect you to remind me about that. ;)

While it would be easy to integrate IE in Administrator, I'm not sure I like the idea. Perhaps a button which opens the web browser would be better. Actually loading the web browser in the user interface would make hMailServer Administrator slower.. (and some would say bloated..)

Kaan1983
Senior user
Senior user
Posts: 595
Joined: 2007-01-30 16:26
Location: TÜRKIYE

Re: hMailServer 5.0, build 286 (Alpha)

Post by Kaan1983 » 2008-04-01 21:57

martin wrote:July shouldn't be a problem as I see it. If I'm not done by than, I'll stop working as a developer. ;-) Kaan1983, I expect you to remind me about that. ;)
:D As usual

martin wrote:While it would be easy to integrate IE in Administrator, I'm not sure I like the idea. Perhaps a button which opens the web browser would be better. Actually loading the web browser in the user interface would make hMailServer Administrator slower.. (and some would say bloated..)
As for the performance you are right. It also slows down Visual Studio. Maybe a 'Show at startup' check box can give users the option.

rjvrijn
Normal user
Normal user
Posts: 161
Joined: 2008-03-31 22:13
Location: NL

Re: hMailServer 5.0, build 286 (Alpha)

Post by rjvrijn » 2008-04-01 23:16

martin wrote:A new 5.0 alpha is now available:
Minor issue. ;)
Under status, tab:logging: the start button gets from "stop" to "False". Never go back to "Start"
WXP x32 - hMailServer v5.3.2 B1769 / MySQL
Horde Groupware Webmail Edition 3.3.6 / SquirrelMail 1.4.17

Henry Sværke
Normal user
Normal user
Posts: 46
Joined: 2007-09-08 16:46

Re: hMailServer 5.0, build 286 (Alpha)

Post by Henry Sværke » 2008-04-02 11:52

Image

I get this as I try to connect to a host in hMailServer Administrator.

The following link doesn't help, but I'm not 100% certain it's addressing my problem anyways: http://www.hmailserver.com/documentatio ... ermissions

Any help? :|

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

Re: hMailServer 5.0, build 286 (Alpha)

Post by martin » 2008-04-02 12:00

Henry,

So the host is on the local computer? If so, the permission problems probably isn't likely.

Yesterday evening you wrote that you got a "Access denied" error, now you got a DCOM problem. What did you change between those two posts?

Try to run the following command, then restart the hMailServer service and then restart hMailServer Administrator.
C:\Program Files\hMailServer\Bin\hMailServer.exe /Register

Since repairing .NET on your computer appears to have solved the crash but now turned into this, I'm guessing that the .NET installation on your computer is corrupt in some way. hMailServer uses some interop services in .NET which isn't extremly common and it could be that this is why hMailServer Administrator failed while your other .NET apps worked fine.

Carl
Normal user
Normal user
Posts: 111
Joined: 2008-03-18 17:33
Location: Utah, USA
Contact:

Re: hMailServer 5.0, build 286 (Alpha)

Post by Carl » 2008-04-02 16:34

Kaan1983 wrote:Under the status tag.
Then my guess is that it doesn't display if you're using PostgreSQL, because it's not there. There's also problem on mine with the status page not updating. Have to close the application and reopen to get the new stats.
Carl

98% of computer users know just enough to be dangerous, but not enough to be useful. I'm afraid I don't fall in the top 2%.

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

Re: hMailServer 5.0, build 286 (Alpha)

Post by martin » 2008-04-02 17:21

Then my guess is that it doesn't display if you're using PostgreSQL, because it's not there.
It's not there. Kaan1983 probably misunderstood you. I fixed that yesterday so it will be included in the next build.
Have to close the application and reopen to get the new stats.
That's more strange though. What stats do you mean?

Kaan1983
Senior user
Senior user
Posts: 595
Joined: 2007-01-30 16:26
Location: TÜRKIYE

Re: hMailServer 5.0, build 286 (Alpha)

Post by Kaan1983 » 2008-04-02 17:29

Carl wrote:
Kaan1983 wrote:Under the status tag.
Then my guess is that it doesn't display if you're using PostgreSQL, because it's not there. There's also problem on mine with the status page not updating. Have to close the application and reopen to get the new stats.
Yes, I thought you were asking why it's not in the welcome page. Then I said it's under the status tag. Though for me as well it was showing hMailServer Version but not the DB Version.
But we are getting it on next update as martin stated.

bigcrawdaddy
Normal user
Normal user
Posts: 53
Joined: 2008-02-19 14:41

Re: hMailServer 5.0, build 286 (Alpha)

Post by bigcrawdaddy » 2008-04-02 17:35

I'm using v5 285 and in the utilities section I was unable to get the Sendout to work no matter what setting I try.

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

Re: hMailServer 5.0, build 286 (Alpha)

Post by martin » 2008-04-02 17:59

bigcrawdaddy, fixed for next version.

Henry Sværke
Normal user
Normal user
Posts: 46
Joined: 2007-09-08 16:46

Re: hMailServer 5.0, build 286 (Alpha)

Post by Henry Sværke » 2008-04-02 18:32

martin wrote:Henry,

So the host is on the local computer? If so, the permission problems probably isn't likely.

Yesterday evening you wrote that you got a "Access denied" error, now you got a DCOM problem. What did you change between those two posts?

Try to run the following command, then restart the hMailServer service and then restart hMailServer Administrator.
C:\Program Files\hMailServer\Bin\hMailServer.exe /Register

Since repairing .NET on your computer appears to have solved the crash but now turned into this, I'm guessing that the .NET installation on your computer is corrupt in some way. hMailServer uses some interop services in .NET which isn't extremly common and it could be that this is why hMailServer Administrator failed while your other .NET apps worked fine.
Yes, the local computer. All I did was restart, and after the /register trick, I'm not getting the DCOM error anymore, but it still refuses to accept my password :|

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

Re: hMailServer 5.0, build 286 (Alpha)

Post by martin » 2008-04-02 18:44

Try removing the AdministratorPassword setting in hMailServer.ini and see if that solves it.

Henry Sværke
Normal user
Normal user
Posts: 46
Joined: 2007-09-08 16:46

Re: hMailServer 5.0, build 286 (Alpha)

Post by Henry Sværke » 2008-04-02 19:02

I fear it does not.

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

Re: hMailServer 5.0, build 286 (Alpha)

Post by martin » 2008-04-02 19:12

Forgot to say that you need to restart the service after you've done it.

Is there anything logged in the hMailServer error log or Windows event viewer when the log on fails?

Henry Sværke
Normal user
Normal user
Posts: 46
Joined: 2007-09-08 16:46

Re: hMailServer 5.0, build 286 (Alpha)

Post by Henry Sværke » 2008-04-02 19:52

No hMailServer logs but the event viewer gives me these:

Code: Select all

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80010105): The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))
   at hMailServer.IInterfaceApplication.Authenticate(String Username, String Password)
   at hMailServer.Administrator.Utilities.APICreator.Authenticate(Application app, Server server)
   at hMailServer.Administrator.formConnect.Connect(Server server)
   at hMailServer.Administrator.formConnect.AutoConnect()
   at hMailServer.Administrator.formMain.Connect(Boolean autoConnectEnabled)
   at hMailServer.Administrator.formMain.formMain_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
hMailAdmin
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.0.0
    CodeBase: file:///C:/Program%20Files/hMailServer/Bin/hMailAdmin.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Interop.hMailServer
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/hMailServer/Bin/Interop.hMailServer.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
r8pmdt2r
    Assembly Version: 5.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Image

Image

The second screen is never displayed unless I run hMailServer Administrator jointly with the event viewer.

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

Re: hMailServer 5.0, build 286 (Alpha)

Post by martin » 2008-04-02 20:15

Sorry to say it, but I'm guessing the .NET installation on your computer is broken in some way. :-\ Not really sure what to do about it..

I'm assuming this since the first error message you got indicated a defect in .NET and that the behavior changed when you did a repair of the .NET framework. The hMailServer installation didn't appear to have been completed either, since the behavior changed again when you run the hMailServer.exe /Register. :-(

Previously when you followed the instructions at http://www.hmailserver.com/documentatio ... ermissions, you got a error message saying "Retrieving the COM class factory for remote component with CLSID failed". Do you still get that?

Have you done any modifications of the hMailServer DCOM settings before on the server?

Henry Sværke
Normal user
Normal user
Posts: 46
Joined: 2007-09-08 16:46

Re: hMailServer 5.0, build 286 (Alpha)

Post by Henry Sværke » 2008-04-02 20:49

I didn't modify the DCOM settings, I was going to though, but it was not necessary since settings were ok, and yes, I get that CLSID message, but only when I try to connect to a host that's not the localhost one.

It's a shame, a fresh Windows installation is impossible right now and now I just hope I can still get the old non-.NET alpha to work :|

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

Re: hMailServer 5.0, build 286 (Alpha)

Post by martin » 2008-04-02 20:51

That's no stable solution...

Is it possible for me to connect remotely to the server? May be able to figure out what's wrong that way..

Henry Sværke
Normal user
Normal user
Posts: 46
Joined: 2007-09-08 16:46

Re: hMailServer 5.0, build 286 (Alpha)

Post by Henry Sværke » 2008-04-03 11:54

Unfortunately not, the settings in this XP installation have beed modified beyond recognition for security reasons :|

I noticed that hMailServer Database Setup accepts the password and works ok. Does that help at all?

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

Re: hMailServer 5.0, build 286 (Alpha)

Post by martin » 2008-04-03 12:02

Not really. The only way to figure it out is probably to build several debug versions with logging until the problem is located. But that would require quite an amount of time and since I'm guessing it's an issue with the installation of Windows/NET rather than a pure hMailServer issue, I'm not so keen on doing that. If I had access to the computer, it could be done quite efficiently but giving you a build, waiting for feedback, creating a new build, waiting for feedback and so on would take days. I can add more logging to the next build but there's no guarantees that it will even give a hint on where the problem is.

Henry Sværke
Normal user
Normal user
Posts: 46
Joined: 2007-09-08 16:46

Re: hMailServer 5.0, build 286 (Alpha)

Post by Henry Sværke » 2008-04-03 21:20

Today I tried to disable my internet connection (something I hadn't done in months) and this message popped up:

Image

I googled the message but the workarounds people suggest are of no help, and I've started to think my problem with hMailServer might not be related to .NET itself but to a mysteriously crippled admin privilege affecting my XP installation on a different level.

I however, thank you a lot for having helped me get hMailServer running on this piece of junk 8)

Cheers.

hdms
New user
New user
Posts: 25
Joined: 2007-03-23 16:27

Re: hMailServer 5.0, build 286 (Alpha)

Post by hdms » 2008-04-05 10:29

In my experience with .NET it is better to repair rather than uninstall/install.
http://support.microsoft.com/kb/306160

As .NET might not be the root of your problem this might not help but I thought I'd post it anyway.
hM 4.4.1 on WHS

Post Reply