HOWTO: Webmail for Hmail, RoundCube, XAMPP
HOWTO: Webmail for Hmail, RoundCube, XAMPP
Hi guys;
I lost a lot of time trying make this work with IIS, PHP, Mysql on windows boxes and hit my head against the wall more than once for nothing . I don't want you to go through the same torture, so here is the easy how to.
Prerequisits
1. Xampp USB lite, executable version downloadable http://www.apachefriends.org/en/xampp-windows.html
2. RoundCube webmail downloadable at http://roundcube.net/
3. 7zip, if you don't have it already downloadable at http://www.7-zip.org/
Installation
1. Install Xampp USB lite using the default settings. This will install PHP5, Apache web server and Mysql database version in C:\xampp
2. Browse to C:\xampp and create a shortcut for xampp-control.exe on your desktop
3. Launch xampp-control, click on service on top and check to run xampp control panel as a service, as well under start these modules choose both mysql and apache. Leave the rest of the fields as default, click ok. It will prompt you to install xampp as service, accept and check in your services applet, that the service xampp is set to automatic.
4. Launch your internet browser and enter localhost as address. This will take you to the xampp welcome page, choose your language.
5. Click the security link on the left, then click the link in the middle of the page that reads http://localhost/security/xamppsecurity.php
6. Here you must enter a new password for the root user then retype the new password. Leave the old password blank.
7. Using the xampp-control, restart mysql service.
8. Now navigate to http://localhost/phpmyadmin, enter root as username and the password that you just created.
9. Click on databases, create new database called roundcubemail. Then on the left, from the available databases, click the one you just created, click on privileges tab then click add a new user.
10. In the username field enter roundcube, host field enter localhost, choose a password for the user account and retype.
11. Under database for user, choose grant all privileges on database roundcubemail then click go on the bottom.
12. Click the home icon on the left top corner, choose the roundcubemail database, privileges tab and make sure that the user we just created is there.
13. Using 7zip, unzip the rouncube package, simply rename the folder as roundcube and copy it to C:\xampp\htdocs folder
14. Browse to C:\xampp\htdocs\roundcube\config folder, copy and rename db.inc.php.dist and main.inc.php.dist to db.inc.php and main.inc.php respectively within the same folder.
15. Open main.inc.php in notepad and make modifications as below
• $rcmail_config['default_host'] = 'localhost';
• $rcmail_config['smtp_server'] = 'localhost';
• $rcmail_config['smtp_user'] = '%u';
• $rcmail_config['smtp_pass'] = '%p';
• $rcmail_config['enable_installer'] = true;
Save the file.
16. Open db.inc.php in notepad and make modifications as below
$rcmail_config['db_dsnw'] = 'mysql://roundcube:password@localhost/roundcubemail';
This is the username and password of the database user that we created at step 9. Save the file.
17. Launch your internet browser and navigate to http://localhost/roundcube/installer
18. Make sure that there is nothing highlighted in Red and click next on the bottom of the page.
19. Make sure there is noting highlighted in red on the last page and run SMTP and IMAP connection tests. Remember you must use a valid user on the hmail server to run the test. Use username@domainname.xxx format for user credentials
These two steps will create the tables in your databse. Once done, delete the installer folder from the roundcube directory as well modify the rcmail_config['enable_installer'] variable in main.inc.php file to show false and save the file
20. Now navigate to C:\xampp\apache\conf directoy and open httpd.conf file in notepad.
21. Modify the DocumentRoot variable to point to "/xampp/htdocs/roundcube". This step is very important to secure the files and folders within xampp/htdocs directory.
22. At this point, launch the xampp-control and restart the apache service
23. Now navigate to C:\xampp\PHP folder and open the php.ini file in notepad. Make sure that file_uploads variable is on, as well the upload_max_filesize variable set to 20 MB (or whatever you want, as this will effect the size of email attachments). Save the file.
24. Launch your internet browser and navigate to http://localhost and voila..
I lost a lot of time trying make this work with IIS, PHP, Mysql on windows boxes and hit my head against the wall more than once for nothing . I don't want you to go through the same torture, so here is the easy how to.
Prerequisits
1. Xampp USB lite, executable version downloadable http://www.apachefriends.org/en/xampp-windows.html
2. RoundCube webmail downloadable at http://roundcube.net/
3. 7zip, if you don't have it already downloadable at http://www.7-zip.org/
Installation
1. Install Xampp USB lite using the default settings. This will install PHP5, Apache web server and Mysql database version in C:\xampp
2. Browse to C:\xampp and create a shortcut for xampp-control.exe on your desktop
3. Launch xampp-control, click on service on top and check to run xampp control panel as a service, as well under start these modules choose both mysql and apache. Leave the rest of the fields as default, click ok. It will prompt you to install xampp as service, accept and check in your services applet, that the service xampp is set to automatic.
4. Launch your internet browser and enter localhost as address. This will take you to the xampp welcome page, choose your language.
5. Click the security link on the left, then click the link in the middle of the page that reads http://localhost/security/xamppsecurity.php
6. Here you must enter a new password for the root user then retype the new password. Leave the old password blank.
7. Using the xampp-control, restart mysql service.
8. Now navigate to http://localhost/phpmyadmin, enter root as username and the password that you just created.
9. Click on databases, create new database called roundcubemail. Then on the left, from the available databases, click the one you just created, click on privileges tab then click add a new user.
10. In the username field enter roundcube, host field enter localhost, choose a password for the user account and retype.
11. Under database for user, choose grant all privileges on database roundcubemail then click go on the bottom.
12. Click the home icon on the left top corner, choose the roundcubemail database, privileges tab and make sure that the user we just created is there.
13. Using 7zip, unzip the rouncube package, simply rename the folder as roundcube and copy it to C:\xampp\htdocs folder
14. Browse to C:\xampp\htdocs\roundcube\config folder, copy and rename db.inc.php.dist and main.inc.php.dist to db.inc.php and main.inc.php respectively within the same folder.
15. Open main.inc.php in notepad and make modifications as below
• $rcmail_config['default_host'] = 'localhost';
• $rcmail_config['smtp_server'] = 'localhost';
• $rcmail_config['smtp_user'] = '%u';
• $rcmail_config['smtp_pass'] = '%p';
• $rcmail_config['enable_installer'] = true;
Save the file.
16. Open db.inc.php in notepad and make modifications as below
$rcmail_config['db_dsnw'] = 'mysql://roundcube:password@localhost/roundcubemail';
This is the username and password of the database user that we created at step 9. Save the file.
17. Launch your internet browser and navigate to http://localhost/roundcube/installer
18. Make sure that there is nothing highlighted in Red and click next on the bottom of the page.
19. Make sure there is noting highlighted in red on the last page and run SMTP and IMAP connection tests. Remember you must use a valid user on the hmail server to run the test. Use username@domainname.xxx format for user credentials
These two steps will create the tables in your databse. Once done, delete the installer folder from the roundcube directory as well modify the rcmail_config['enable_installer'] variable in main.inc.php file to show false and save the file
20. Now navigate to C:\xampp\apache\conf directoy and open httpd.conf file in notepad.
21. Modify the DocumentRoot variable to point to "/xampp/htdocs/roundcube". This step is very important to secure the files and folders within xampp/htdocs directory.
22. At this point, launch the xampp-control and restart the apache service
23. Now navigate to C:\xampp\PHP folder and open the php.ini file in notepad. Make sure that file_uploads variable is on, as well the upload_max_filesize variable set to 20 MB (or whatever you want, as this will effect the size of email attachments). Save the file.
24. Launch your internet browser and navigate to http://localhost and voila..
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Thanks for sharing
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Welcome Matt. Anyone having troubles with this pm me.mattg wrote:Thanks for sharing
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Can you make screenshots this web interface?
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Thank you. Very good!
Question: can i run xampp without apache on IIS 7.5?
Question: can i run xampp without apache on IIS 7.5?
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Install PHP with microsoft web platform bundle. Add mysql server from mysql.com and setup your system to use PHPMyAdmin.djonik wrote:Thank you. Very good!
Question: can i run xampp without apache on IIS 7.5?
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
If you absolutely want to run it on IIS, then you will need to install and configure PHP on your IIS first, then install mysql and configure it.djonik wrote:Thank you. Very good!
Question: can i run xampp without apache on IIS 7.5?
Peice of advice, the whole article was put to avoid those headaches.
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Thank's. I'm thinking that apache with iis better.armo wrote:If you absolutely want to run it on IIS, then you will need to install and configure PHP on your IIS first, then install mysql and configure it.djonik wrote:Thank you. Very good!
Question: can i run xampp without apache on IIS 7.5?
Peice of advice, the whole article was put to avoid those headaches.
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
I make system on IIS 7.5 without apache. Nive working. I take mysql, php, phpMyAdmin, roundcubemail from xampp, add 2 sites (for roundcube and phpMyAdmin), add PHP FastCGIModule. All work. And without headaches.
Thank you author these HOWTO! It's me very help.
P.S. Sorry for my English.
Thank you author these HOWTO! It's me very help.
P.S. Sorry for my English.
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
djonik wrote:I make system on IIS 7.5 without apache. Nive working. I take mysql, php, phpMyAdmin, roundcubemail from xampp, add 2 sites (for roundcube and phpMyAdmin), add PHP FastCGIModule. All work. And without headaches.
Thank you author these HOWTO! It's me very help.
P.S. Sorry for my English.
Glad to help someone.
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
first of all sorry for my english...
fantastic guide...works very well...but I'have just a problem. It's works in lan but not extra lan.
I open the firewall ports, I nat the ip public with the ip server but if I try access from remote I cant visualize the login page.
I think that there are something parameters to change in apache...can you help me?
hi
Fabio
fantastic guide...works very well...but I'have just a problem. It's works in lan but not extra lan.
I open the firewall ports, I nat the ip public with the ip server but if I try access from remote I cant visualize the login page.
I think that there are something parameters to change in apache...can you help me?
hi
Fabio
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
have you forwarded web ports (ie port 80) from your router to your web server?
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
i have
hmailserver: v 5.3.3-b1846
xampp:
Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
mysql: 5.1.41
roundcube: roundcubemail-0.7.1
i set up roundcube a few times now and im having really big problems, i am now the farthest i have gotten tho.
i setup per this post, and i can login and get the first page fine.
when going to the compose email i cant get the html compose box to show right its offset just even with the carbon copy line and takes up the rest of the page.
i cant send both icons are grayed out.
i cant do any editing, items are there in the menu but nothing happens.
i dont get any messages there are messages on the server too, and i can see them and send fine in outlook.
i havent a clue whats wrong, i been trying to battle this since version roundcube 0.40, ive re-installed many times, and i just did a fresh install today, i dont get it. ive done other installs and i know what im doing, it all seams fine, install is green across the board and send and test the two test items on the last page just fine.
thank you in advance for any help you may provide
hmailserver: v 5.3.3-b1846
xampp:
Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
mysql: 5.1.41
roundcube: roundcubemail-0.7.1
i set up roundcube a few times now and im having really big problems, i am now the farthest i have gotten tho.
i setup per this post, and i can login and get the first page fine.
when going to the compose email i cant get the html compose box to show right its offset just even with the carbon copy line and takes up the rest of the page.
i cant send both icons are grayed out.
i cant do any editing, items are there in the menu but nothing happens.
i dont get any messages there are messages on the server too, and i can see them and send fine in outlook.
i havent a clue whats wrong, i been trying to battle this since version roundcube 0.40, ive re-installed many times, and i just did a fresh install today, i dont get it. ive done other installs and i know what im doing, it all seams fine, install is green across the board and send and test the two test items on the last page just fine.
thank you in advance for any help you may provide
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Could you change browser address line to http://roundcubeforum.net/Pern wrote:thank you in advance for any help you may provide
We can't diagnose your webmail issues or errors/filtering in your browser. Make sure that your browser is supported by roundcube. Make sure that you don't have problems with ad blocking plugins or javascript filters. Make sure that you don't have errors in browser's javascript console or webserver logs.
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
i fixed it i realized that the .htaccess files are stopping xampp from working(they always have on my setup, renamed them it works fine now
stops beating my head on the wall now
stops beating my head on the wall now
-
- New user
- Posts: 14
- Joined: 2012-05-23 22:38
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Hi, i also tried to use iis with php an hmailserver with roundcube. Now i use xampp - iis isnt so fast with php as iis.
-
- New user
- Posts: 14
- Joined: 2012-05-23 22:38
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Hi, thanks for that great how to, everything works fine.
I also configured in apache that https connections are alowed.
Now i have got another question, is it possible to access the xampp webpage for further configuration or webanalytics?
I think the problem is the documentroot in apache.
Thanks for help.
I also configured in apache that https connections are alowed.
Now i have got another question, is it possible to access the xampp webpage for further configuration or webanalytics?
I think the problem is the documentroot in apache.
Thanks for help.
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
it should be - this tutorial is just a vanilla install
Check with the XAMPP documentation
Check with the XAMPP documentation
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
-
- New user
- Posts: 14
- Joined: 2012-05-23 22:38
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Hi, thanks for you help. Now i get it.
Now i have another question - when i enable auto-ban in hmailserver and i hit the password in roundcube 3 times wrony the ip 127.0.0.1 will banned.
After that no login is possible!?
Is it possible to chance that?
Now i have another question - when i enable auto-ban in hmailserver and i hit the password in roundcube 3 times wrony the ip 127.0.0.1 will banned.
After that no login is possible!?
Is it possible to chance that?
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Change the My Computer IP range to something over 25aschinnerl wrote:Now i have another question - when i enable auto-ban in hmailserver and i hit the password in roundcube 3 times wrony the ip 127.0.0.1 will banned.
After that no login is possible!?
Is it possible to chance that?
If at first you don't succeed, bomb disposal probably isn't for you! ヅ
-
- New user
- Posts: 14
- Joined: 2012-05-23 22:38
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
What do you mean - IP oder priority?
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Sorry yes, the Priority to be 25+
If at first you don't succeed, bomb disposal probably isn't for you! ヅ
-
- New user
- Posts: 14
- Joined: 2012-05-23 22:38
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Thank you that worked. But the auto-ban feature doesnt work when i do that.^DooM^ wrote:Sorry yes, the Priority to be 25+
So its better to disable it or?
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Autoban works for any other range. It is useful outside of localhost. Webmails should implement autoban internally as only they know client IP address.aschinnerl wrote:Thank you that worked. But the auto-ban feature doesnt work when i do that.^DooM^ wrote:Sorry yes, the Priority to be 25+
So its better to disable it or?
-
- New user
- Posts: 14
- Joined: 2012-05-23 22:38
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
The access to roundcube is only external, not internal. I think hmail only knows contact by roundcube from localhost.
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Your email server can be accessed without roundcube. Autoban helps there. If you want to prevent password attacks in roundcube, you need something that does it internally within roundcube. hmailserver can't be used for that. As you said all webmail connections are from one IP address.aschinnerl wrote:The access to roundcube is only external, not internal. I think hmail only knows contact by roundcube from localhost.
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
is work with windows 2008 Server R2 x64 ? I tried to do it step by step but in http://localhost step it's show nothing and XAMPP service dosen't start, olease help
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Check if you have IIS services enabled? For example 'WWW service' can prevent default apache startup. XAMPP is not service.amsbas wrote:is work with windows 2008 Server R2 x64 ? I tried to do it step by step but in http://localhost step it's show nothing and XAMPP service dosen't start, olease help
- carywinton
- New user
- Posts: 9
- Joined: 2012-07-20 08:08
- Location: Kentucky, USA
- Contact:
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
I would like to see how this was done if you care to write a tutorial and post it here. I am having a very hard time doing this on Windows 2003 Server, IIS6.0, MySql 5 and PHP 5.3,FastCGI, phpMyAdmin, Roundcube.djonik wrote:I make system on IIS 7.5 without apache. Nive working. I take mysql, php, phpMyAdmin, roundcubemail from xampp, add 2 sites (for roundcube and phpMyAdmin), add PHP FastCGIModule. All work. And without headaches.
Thank you author these HOWTO! It's me very help.
P.S. Sorry for my English.
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
1. Install Win2k3carywinton wrote:I would like to see how this was done if you care to write a tutorial and post it here. I am having a very hard time doing this on Windows 2003 Server, IIS6.0, MySql 5 and PHP 5.3,FastCGI, phpMyAdmin, Roundcube.
2. Enable IIS in windows without SMTP service component
3. Add PHP (php.net or ms webplatform installer)
4. Install mysql (from mysql.com)
5. phpMyAdmin and Roundcube are only scripts. If you have working PHP setup, all you have to do is to configure them.
Which part is not working for you? Learn fishing instead of asking for fish. Your work depends on understanding how your setup works and not on ability to read guides written by others.
-
- New user
- Posts: 2
- Joined: 2013-01-02 17:05
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
I am running into an issue with this setup. First time I ran through it the SMTP config test and the IMAP config test worked like a charm. Got everything done then realized I forgot to initialize the db. Ran through the installer portion, initialized the db and now when I try to do the
SMTP test I get the error: SMTP send: NOT OK(Connection failed: Invalid response code received from server)
IMAP test I get the error: NOT OK(Login failed for root@xxx.xxxfrom 127.0.0.1. Empty startup greeting (localhost:143))
Why would they work the first time but not after I initialize the db?
Any help would be GREATLY appreciated.
SMTP test I get the error: SMTP send: NOT OK(Connection failed: Invalid response code received from server)
IMAP test I get the error: NOT OK(Login failed for root@xxx.xxxfrom 127.0.0.1. Empty startup greeting (localhost:143))
Why would they work the first time but not after I initialize the db?
Any help would be GREATLY appreciated.
-
- New user
- Posts: 2
- Joined: 2013-01-02 17:05
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
-- UPDATE --
Scrapped it all and ran through it one more time and was successful this time. Not sure where I went wrong, but thank you for posting this. Was a LIFESAVER
Scrapped it all and ran through it one more time and was successful this time. Not sure where I went wrong, but thank you for posting this. Was a LIFESAVER
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
I dont understand the number 19, I am stuck there,
19. Make sure there is noting highlighted in red on the last page and run SMTP and IMAP connection tests. Remember you must use a valid user on the hmail server to run the test. Use username@domainname.xxx format for user credentials
Server: localhost
Port: 25
User: the database user?
Password:
Sender What sender I have to put
Recipient and this aswell
19. Make sure there is noting highlighted in red on the last page and run SMTP and IMAP connection tests. Remember you must use a valid user on the hmail server to run the test. Use username@domainname.xxx format for user credentials
Server: localhost
Port: 25
User: the database user?
Password:
Sender What sender I have to put
Recipient and this aswell
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
On your hMailserver, lets say that you have a domain called 'mydomain.com', and then within that domain you have a user called 'person'
The username for step 19 will be 'person@mydomain.com'
The password will be their normal hMailserver account password
There is nothing is step 19 that is sending mail, so I don't understand the recipient question
The username for step 19 will be 'person@mydomain.com'
The password will be their normal hMailserver account password
There is nothing is step 19 that is sending mail, so I don't understand the recipient question
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Thank you Mattg for your quick response, well I realized that i missed something, the Hmail server ... upps! so i need to install one before continue. Thank you!!
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Hi there
Thanks for the tutorial however I'm running into some issues.
I currently have a working install of hmailserver which is working great but I'd like to add webmail capability to it so I found this howto.
My hmailserver database currently runs under mysql so xampp detects it's already running (which is fine) but it can,t manage any of it.
Should I create a xampp-only version of mysql with a different service name and port for xampp than my regular hmailserver mysql install ? That would seem to be the easy solution but I'm sure it'd be much less of a ressource drain if I could direct xampp to use the current hmailserver mysql install but I see no obvious way of doing so.
I am no mysql (or any database for that matter) guru by any strech of the imagination so I'm at a loss as to the proper next steps.
Any help or ressources on how to accomplish what I seek would be greatly appreciated!
Thanks for the tutorial however I'm running into some issues.
I currently have a working install of hmailserver which is working great but I'd like to add webmail capability to it so I found this howto.
My hmailserver database currently runs under mysql so xampp detects it's already running (which is fine) but it can,t manage any of it.
Should I create a xampp-only version of mysql with a different service name and port for xampp than my regular hmailserver mysql install ? That would seem to be the easy solution but I'm sure it'd be much less of a ressource drain if I could direct xampp to use the current hmailserver mysql install but I see no obvious way of doing so.
I am no mysql (or any database for that matter) guru by any strech of the imagination so I'm at a loss as to the proper next steps.
Any help or ressources on how to accomplish what I seek would be greatly appreciated!
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
If you already have hMailserver and MySQL, then check the Roundcube site. You may just need Appache or another web server to run Roundcube.
Remember this is hMailserver forum. Check with Roundcube support on how to install their product.
Remember this is hMailserver forum. Check with Roundcube support on how to install their product.
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
-
- New user
- Posts: 1
- Joined: 2013-06-10 18:35
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
hi all thanks por the how to it work fine but i het this error Error de conexión con el servidor IMAP. when i try to log on i need help please i will wait for your answer thanks again
well y solved this problem sorry jeje but i have other i send menssages and it dosent desplay in any mail box i see that i have send a mail but it dont display in the receiver HEELP!!! PLEASE THANKS
well y solved this problem sorry jeje but i have other i send menssages and it dosent desplay in any mail box i see that i have send a mail but it dont display in the receiver HEELP!!! PLEASE THANKS
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Seriously, please start a new thread. Link back t this if you think relevant. DO NOT post further unrelated questions in this thread.denieru88x wrote:hi all thanks por the how to it work fine but i het this error Error de conexión con el servidor IMAP. when i try to log on i need help please i will wait for your answer thanks again
well y solved this problem sorry jeje but i have other i send menssages and it dosent desplay in any mail box i see that i have send a mail but it dont display in the receiver HEELP!!! PLEASE THANKS
Please DON'T use Bold for all text.
Please post twice, and not answer yourself in the same post.
All of these things make this hard to read.
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Ok, I've missed something here. The only thing I get is the roundcube icon on the browser tab any ideas?
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Yep the previous postpcl wrote:Ok, I've missed something here.
Or perhaps the previous one of mine a couple of posts higher upmattg wrote:Seriously, please start a new thread. Link back t this if you think relevant. DO NOT post further unrelated questions in this thread.
mattg wrote:Remember this is hMailserver forum. Check with Roundcube support on how to install their product.
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Great manual, thanks for sharing
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Hello,
i do not have the following files in the folder:
14. Browse to C:\xampp\htdocs\roundcube\config folder, copy and rename db.inc.php.dist and main.inc.php.dist to db.inc.php and main.inc.php respectively within the same folder.
Thanks
i do not have the following files in the folder:
14. Browse to C:\xampp\htdocs\roundcube\config folder, copy and rename db.inc.php.dist and main.inc.php.dist to db.inc.php and main.inc.php respectively within the same folder.
Thanks
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
I noticed the same thing as well. The two files are not in the config
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
A lot of things have changed with Roundcube 1.0.x - including the configuration files..
http://trac.roundcube.net/wiki/Howto_Install
http://trac.roundcube.net/wiki/Howto_Install
SørenR.
Woke is Marxism advancing through Maoist cultural revolution.
Woke is Marxism advancing through Maoist cultural revolution.
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
I cant find the db.inc.php.dist and main.inc.php.dist files in my roundcube 1.1.6 or 1.2.2
Can someone help me how can i made the config changes for these versions of roundcube?
Can someone help me how can i made the config changes for these versions of roundcube?
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Thanks for sharing.
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
I am having same issue. I tried aforementioned method but i am unable to get it done!karishma wrote:I cant find the db.inc.php.dist and main.inc.php.dist files in my roundcube 1.1.6 or 1.2.2
Can someone help me how can i made the config changes for these versions of roundcube?
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
Try their (roundcube's) official support community
https://github.com/roundcube/roundcubem ... figuration
https://github.com/roundcube/roundcubem ... figuration
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
Re: HOWTO: Webmail for Hmail, RoundCube, XAMPP
[Update] Installation on Windows 10:
===
Ps: This written How to are base on my personal experience, as we know case per case would be slightly different in how to conduct. Credite goes to "armo" as the first person posting this article.
===
1. Install Xampp 7.1.27 (Newest Version) 64bit using the default settings. This will install PHP, Apache web server and Mysql database in C:\xampp
2. Browse to C:\xampp and create a shortcut for xampp-control.exe on your desktop -- For newest version Xampp this no longer needed. After installation at point [1] you have icon on your windows tray icon.
3. Launch xampp-control (make sure "run as Administrator", click on service on top and check to run xampp control panel as a service, as well under start these modules choose both mysql and apache. Leave the rest of the fields as default, click ok. It will prompt you to install xampp as service, accept and check in your services applet, that the service xampp is set to automatic.
4. Launch your internet browser and enter localhost as address at your browser address. This will take you to the "Dashboard" page.
5. Click the security link on the left, then click the link in the middle of the page that reads http://localhost/security/xamppsecurity.php <<--- This no longer exist on newer version of Xampp. So i just ignore it.
6. Using the xampp-control (run as Administrator), restart mysql service.
7. Click on databases, create new database called roundcubemail. Then on the left, from the available databases, click the one you just created, click on privileges tab then click add a new user.
8. In the username field enter roundcube, host field enter localhost, choose a password for the user account and retype.
9. Under database for user, choose grant all privileges on database roundcubemail then click go on the bottom.
10. Click the home icon on the left top corner, choose the roundcubemail database, privileges tab and make sure that the user we just created is there.
11. Unzip the rouncube package (in my case: i use winrar to unzip), simply rename the folder as roundcube and copy it to C:\xampp\htdocs folder
12. Browse to C:\xampp\htdocs\roundcube\config folder, you have to edit two files in this folder. [1] "defaults.inc.php" and [2] "config.inc.php" , in my case: i use notepad++ to edit those two files.
13. Open files: defaults.inc.php and make modifications as below
find this line:
$config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
edit that line to be:
$config['db_dsnw'] = 'mysql://roundcube:myp4ssw0r8@localhost/roundcubemail';
[ Note: change "pass" with your roundcube password that you use when you create my sql database for roundcube. username and password of the database user that we created previously (step ; in my situation user: roundcube pass:myp4ssw0r8).
---- make sure this parameter exist:
$config['default_host'] = 'localhost';
$config['smtp_server'] = 'localhost';
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';
$config['enable_installer'] = true;
---- Save the file.
14. Open config.inc.php make modifications as below
find this line:
$config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
edit that line to be:
$config['db_dsnw'] = 'mysql://roundcube:myp4ssw0r8@localhost/roundcubemail';
[ Note: change "pass" with your roundcube password that you use when you create my sql database for roundcube. username and password of the database user that we created previously (step ; in my situation user: roundcube pass:myp4ssw0r8).
15. Launch your internet browser and navigate to http://localhost/roundcube/installer
16. Make sure that there is nothing highlighted in Red and click next on the bottom of the page.
17. Make sure there is noting highlighted in red on the last page and run SMTP and IMAP connection tests. Remember you must use a valid user on the hmail server to run the test. Use username@domainname.xxx format for user credentials
These two steps will create the tables in your databse. Once done, delete the installer folder from the roundcube directory as well modify the $config['enable_installer'] = true; variable in defaults.inc.php file to show false and save the file
18. Now navigate to C:\xampp\apache\conf directoy and open httpd.conf file in notepad.
19. Modify the DocumentRoot variable to point to "/xampp/htdocs/roundcube". This step is very important to secure the files and folders within xampp/htdocs directory.
20. Now navigate to C:\xampp\PHP folder and open the php.ini file in notepad. Make sure that file_uploads variable is on, as well the upload_max_filesize variable set to 20 MB (or whatever you want, as this will effect the size of email attachments). Save the file.
21. on folder C:\xampp\htdocs - go edit php.ini files, in my situation i use notepad++. Go find this line: header('Location: '.$uri.'/dashboard/'); and change it to be:
header('Location: '.$uri.'/roundcube/');\
22. At this point, launch the xampp-control and restart the apache service
23. Launch your internet browser and navigate to http://localhost and voila..
if you would like to secure phpmyadmin, you can made a root password as follows:
24 . Now navigate to http://localhost/phpmyadmin, To create root password in PHPMyAdmin in UI easy way, you can follow simple steps below:
==> go to http://localhost/phpmyadmin
==> click "User accounts" menu bar on the top of the page
==> on the User Account Overview table you will see user name: root on the left then click "Edit privileges" on the right
==> Then click on "Change password" menu bar on the top
==> Enter your desired password then click "Go" on the button on the bottom.
At this point you're no longer can access: http://localhost/roundcube/installer
===
Ps: This written How to are base on my personal experience, as we know case per case would be slightly different in how to conduct. Credite goes to "armo" as the first person posting this article.
===
1. Install Xampp 7.1.27 (Newest Version) 64bit using the default settings. This will install PHP, Apache web server and Mysql database in C:\xampp
2. Browse to C:\xampp and create a shortcut for xampp-control.exe on your desktop -- For newest version Xampp this no longer needed. After installation at point [1] you have icon on your windows tray icon.
3. Launch xampp-control (make sure "run as Administrator", click on service on top and check to run xampp control panel as a service, as well under start these modules choose both mysql and apache. Leave the rest of the fields as default, click ok. It will prompt you to install xampp as service, accept and check in your services applet, that the service xampp is set to automatic.
4. Launch your internet browser and enter localhost as address at your browser address. This will take you to the "Dashboard" page.
5. Click the security link on the left, then click the link in the middle of the page that reads http://localhost/security/xamppsecurity.php <<--- This no longer exist on newer version of Xampp. So i just ignore it.
6. Using the xampp-control (run as Administrator), restart mysql service.
7. Click on databases, create new database called roundcubemail. Then on the left, from the available databases, click the one you just created, click on privileges tab then click add a new user.
8. In the username field enter roundcube, host field enter localhost, choose a password for the user account and retype.
9. Under database for user, choose grant all privileges on database roundcubemail then click go on the bottom.
10. Click the home icon on the left top corner, choose the roundcubemail database, privileges tab and make sure that the user we just created is there.
11. Unzip the rouncube package (in my case: i use winrar to unzip), simply rename the folder as roundcube and copy it to C:\xampp\htdocs folder
12. Browse to C:\xampp\htdocs\roundcube\config folder, you have to edit two files in this folder. [1] "defaults.inc.php" and [2] "config.inc.php" , in my case: i use notepad++ to edit those two files.
13. Open files: defaults.inc.php and make modifications as below
find this line:
$config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
edit that line to be:
$config['db_dsnw'] = 'mysql://roundcube:myp4ssw0r8@localhost/roundcubemail';
[ Note: change "pass" with your roundcube password that you use when you create my sql database for roundcube. username and password of the database user that we created previously (step ; in my situation user: roundcube pass:myp4ssw0r8).
---- make sure this parameter exist:
$config['default_host'] = 'localhost';
$config['smtp_server'] = 'localhost';
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';
$config['enable_installer'] = true;
---- Save the file.
14. Open config.inc.php make modifications as below
find this line:
$config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
edit that line to be:
$config['db_dsnw'] = 'mysql://roundcube:myp4ssw0r8@localhost/roundcubemail';
[ Note: change "pass" with your roundcube password that you use when you create my sql database for roundcube. username and password of the database user that we created previously (step ; in my situation user: roundcube pass:myp4ssw0r8).
15. Launch your internet browser and navigate to http://localhost/roundcube/installer
16. Make sure that there is nothing highlighted in Red and click next on the bottom of the page.
17. Make sure there is noting highlighted in red on the last page and run SMTP and IMAP connection tests. Remember you must use a valid user on the hmail server to run the test. Use username@domainname.xxx format for user credentials
These two steps will create the tables in your databse. Once done, delete the installer folder from the roundcube directory as well modify the $config['enable_installer'] = true; variable in defaults.inc.php file to show false and save the file
18. Now navigate to C:\xampp\apache\conf directoy and open httpd.conf file in notepad.
19. Modify the DocumentRoot variable to point to "/xampp/htdocs/roundcube". This step is very important to secure the files and folders within xampp/htdocs directory.
20. Now navigate to C:\xampp\PHP folder and open the php.ini file in notepad. Make sure that file_uploads variable is on, as well the upload_max_filesize variable set to 20 MB (or whatever you want, as this will effect the size of email attachments). Save the file.
21. on folder C:\xampp\htdocs - go edit php.ini files, in my situation i use notepad++. Go find this line: header('Location: '.$uri.'/dashboard/'); and change it to be:
header('Location: '.$uri.'/roundcube/');\
22. At this point, launch the xampp-control and restart the apache service
23. Launch your internet browser and navigate to http://localhost and voila..
if you would like to secure phpmyadmin, you can made a root password as follows:
24 . Now navigate to http://localhost/phpmyadmin, To create root password in PHPMyAdmin in UI easy way, you can follow simple steps below:
==> go to http://localhost/phpmyadmin
==> click "User accounts" menu bar on the top of the page
==> on the User Account Overview table you will see user name: root on the left then click "Edit privileges" on the right
==> Then click on "Change password" menu bar on the top
==> Enter your desired password then click "Go" on the button on the bottom.
At this point you're no longer can access: http://localhost/roundcube/installer