Posts: 0
Threads: 5
Joined: Feb 2025
Reputation:
0
I have the newest build of ehcp and I was wondering how I can change my mail.mydomain.com to point to the RoundCube mail sign in page. I've given up trying to connect google apps with ehcp so I've resulted to using the built in mail which in my case is squirrel mail and RoundCube, I don't want to use squirrel mail though. Thanks for any replies.
Restored from old drupal forum, for user uid:3801 username:iconus
You may reset your password to access your new account here.
Posts: 1,386
Threads: 252
Joined: Feb 2025
Reputation:
0
open apachetemplate file in ehcp dir
find section with "webmail.yourdomain.com"
change paths to .../webmail2
save
after that, ehcp gui->options->sync domains
this way, you will be using roundcube for all your domains.
Restored from old drupal forum, for user uid:3801 username:iconus
You may reset your password to access your new account here.
Posts: 0
Threads: 5
Joined: Feb 2025
Reputation:
0
I get a server error when I do that, here is what I have in the file you said to modify, I made all the webmail2 changes:
</VirtualHost>
<VirtualHost *>
ServerName webmail.{domainname}
ServerAlias mail.{domainname}
ServerAlias email.{domainname}
DocumentRoot {ehcpdir}/webmail2
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%v:%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
CustomLog {homedir}/logs/access_log combined
CustomLog /var/log/apache_common_access_log vhost_combined
php_admin_value open_basedir {ehcpdir}/webmail2
php_admin_value upload_tmp_dir {ehcpdir}/webmail/data
php_admin_value session.save_path {ehcpdir}/webmail/data
</VirtualHost>
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 1,386
Threads: 252
Joined: Feb 2025
Reputation:
0
Sory,
on php_admin_value parts,
remove all php_admin_value's,
and add folowing:
php_admin_value open_basedir {ehcpdir}/webmail2;/usr/share/roundcube
Restored from old drupal forum, for user uid:3801 username:iconus
You may reset your password to access your new account here.
Posts: 0
Threads: 5
Joined: Feb 2025
Reputation:
0
Thanks, I'm still getting a server error, there is no roundcube directory in the ehcpdir, there is only webmail2 and I tried to put that as well with no luck. Also, the webmail2 folder in the ehcpdir is only a shortcut link that goes to /usr/share/roundcube, I also tried to edit the apachetemplate to that with no luck, is there any way I can reroute my mail.mydomain.com adress to an outside url like: http://google/a/mydomain.com thanks again!
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 0
Threads: 5
Joined: Feb 2025
Reputation:
0
Thanks for the help but it isn't working. Would a created subdomain that is mail.mydomain,com interfere with anything should I delete it? It's still isn't working though, here is what I have now, can you check and see if there is anything wrong with it?
<VirtualHost *>
ServerName webmail.{domainname}
ServerAlias mail.{domainname}
ServerAlias email.{domainname}
DocumentRoot {ehcpdir}/webmail2;/usr/share/roundcube
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%v:%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
CustomLog {homedir}/logs/access_log combined
CustomLog /var/log/apache_common_access_log vhost_combined
php_admin_value open_basedir {ehcpdir}/webmail2;/usr/share/roundcube
</VirtualHost>
Thanks for your help
Restored from old drupal forum, for user uid:3801 username:iconus
You may reset your password to access your new account here.
Posts: 0
Threads: 5
Joined: Feb 2025
Reputation:
0
can anyone else help out with this? what is the point of having roundcube when the only way to access it is though your ip address which is insecure? Why isn't roundcube default in ehcp, its a way better webmail app than squirrel mail. If anyone else has any other ideas that would be great. I did everything stated on here and more and the furthest I got was a server error and a roundcube favicon in the browser, but that's it.
Restored from old drupal forum, for user uid:3801 username:iconus
You may reset your password to access your new account here.
Posts: 0
Threads: 1
Joined: Feb 2025
Reputation:
0
I have same problem with change default webmail. I cannot quite into apache template to correctly path. I had check out your instruction and it doesn't help.
Restored from old drupal forum, for user uid:3801 username:iconus
You may reset your password to access your new account here.