Webmail with hMailServer

Use this forum if you have problems with a hMailServer script, such as hMailServer WebAdmin or code in an event handler.
Post Reply
User avatar
MockY
Normal user
Normal user
Posts: 55
Joined: 2005-05-10 07:39
Location: Sacramento
Contact:

Webmail with hMailServer

Post by MockY » 2005-05-10 07:44

Here is the deal.
I'm trying to add the web portion of this so that clients can check their mail online as well as with a client.
The server works just fine but how do I make the web deal work.
I downloaded the plugin but have no idea where to extract it.
I'm hosting 5 websites with seperate ipnumbers so the wwwrot is not in use at all.

I have tried to find it somewhere for over 2 hours now but can not find anything that helps.

System:

Windows 2003 Server
PHP 4.3
MySQL 4.1
Latest hMailServer

Please please help me with this.

User avatar
mcampbell
Normal user
Normal user
Posts: 148
Joined: 2004-03-30 20:31
Location: North East US

Post by mcampbell » 2005-05-10 14:52

have you tried squirrelmail?
People here have made mods for it just for HMail and it's very easy to implement. I'm tried Horde/IMP and wasn't happy with it's speed and there are def. problems with its setup including crappy documentation.
HM 4.2B195 :: MySQL 4.1 :: PHP 4.3.11 :: Win2k
Power over "them"

User avatar
MockY
Normal user
Normal user
Posts: 55
Joined: 2005-05-10 07:39
Location: Sacramento
Contact:

Post by MockY » 2005-05-10 16:44

Sorry left that part out.
I downloaded squerrelmail (I called it the plugin in the last post) but the question still remains, where do I extract it and what do I do after that is done? I know I'm not supposed to be clueless but I am. First time for everything I guess.

Before I started using hMailServer I used Ismail which installed squerrelmail automatically. Now I have to do that by myself which makes it a bit harder.

ric melia
Normal user
Normal user
Posts: 33
Joined: 2004-12-13 15:11

Post by ric melia » 2005-05-10 17:11

Are you using Apache or IIS as your webserver?

User avatar
MockY
Normal user
Normal user
Posts: 55
Joined: 2005-05-10 07:39
Location: Sacramento
Contact:

Post by MockY » 2005-05-10 17:22

Using IIS 6

User avatar
mcampbell
Normal user
Normal user
Posts: 148
Joined: 2004-03-30 20:31
Location: North East US

Post by mcampbell » 2005-05-10 17:55

Just unzip to your webroot or even the C drive and point either a virtual site or new site in IIS to that directory. You'll want to have Perl installed too just to make thing easier, and every webserver should have it anyway. Then just go into the sqmail/config directory and run config.pl (from a command prompt.
Setup is pretty straight forward.

PM me if you need more help. I thought we had a doc on this but it may have just been on the Wiki which I don't remember the address for.
HM 4.2B195 :: MySQL 4.1 :: PHP 4.3.11 :: Win2k
Power over "them"

User avatar
MockY
Normal user
Normal user
Posts: 55
Joined: 2005-05-10 07:39
Location: Sacramento
Contact:

Post by MockY » 2005-05-10 17:59

Thank you very much. I'll try what you said. Also found some other documents. So I will combine them all. But if I still have problems, I will PM you.

Thanks

User avatar
MockY
Normal user
Normal user
Posts: 55
Joined: 2005-05-10 07:39
Location: Sacramento
Contact:

Post by MockY » 2005-05-10 18:23

One little question though. Since I'm hosting 5 websites like I said before with their own domains. Should I exctract the squirrelmail in every single folder where the websites are located or is it enough to just extract it in one place. I want every user on every domain to be able to check their mail online.

User avatar
mcampbell
Normal user
Normal user
Posts: 148
Joined: 2004-03-30 20:31
Location: North East US

Post by mcampbell » 2005-05-10 19:10

humm, that's a good question. I run multiple domains but onle have 1 setup of SQMail. Since all my domains are on a single machine, you should just be able to enter a single domain/mail server for one instance of SQMail in the config and it will work. I would get one all setup and test it out.

If you want your own logo for each domain though on the login screen then either you will have to do some fancy coding based on the url or setup a SQMail for each domain. Or just keep the SQ graphic.
HM 4.2B195 :: MySQL 4.1 :: PHP 4.3.11 :: Win2k
Power over "them"

User avatar
MockY
Normal user
Normal user
Posts: 55
Joined: 2005-05-10 07:39
Location: Sacramento
Contact:

Post by MockY » 2005-05-11 06:00

Well as I mentioned earlier, I'm in the last stage. One walkthrough told me to make sure that some specific folders had write permissions. My questions is then, to who?
As it is now, the server tells me to log in as administrator, but that is for the server. I don't want that at all since I want everyone with an account to access. But when I do log in, it's all blank.

So what is the last step in the setup process?

User avatar
mcampbell
Normal user
Normal user
Posts: 148
Joined: 2004-03-30 20:31
Location: North East US

Post by mcampbell » 2005-05-11 14:43

I answered these question in the reply to the PM you sent.
HM 4.2B195 :: MySQL 4.1 :: PHP 4.3.11 :: Win2k
Power over "them"

User avatar
MockY
Normal user
Normal user
Posts: 55
Joined: 2005-05-10 07:39
Location: Sacramento
Contact:

Post by MockY » 2005-05-11 18:15

And I replied :)

Problem solved.

First it was permission issues. the IUSR_[yourservername] who shouold hav write access. Fairly simple task.
Next step was to change the file the .php extention is pointing to in IIS6. Change it to the propiate .dll file which happen to be php4isapi.dll. This is all done in the application settings.

Hopefully my problem will help others.
Thank you again for all help.

Keep up the good work.

Post Reply