Webmail for Plesk 8.6 working with PHP 5.3.x
Webmail for Plesk 8.6 working with PHP 5.3.x
Any webmail working with Plesk 8.6 and PHP 5.3.x would be great. Preferably something that doesn't require an enormous amount of reconfiguration...
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Webmail for Plesk 8.6 working with PHP 5.3.x
Just let me know what that is, and I'll look into packaging it
Re: Webmail for Plesk 8.6 working with PHP 5.3.x
Well I don't really care which webmail it is (updated Horde, atmail, Rouncube, Squirrelmail are the ones I've heard about) just as long as it is working with php 5.3 which the default horde for 8.6 doesn't seem to do... Any suggestions?
Problems
http://atomicorp.com/forums/viewtopic.php?f=12&t=4909
Problems
http://atomicorp.com/forums/viewtopic.php?f=12&t=4909
Re: Webmail for Plesk 8.6 working with PHP 5.3.x
Roundcube looks really good. A Roundcube package would be great!
Re: Webmail for Plesk 8.6 working with PHP 5.3.x
Have been using roundcube for ages, its great, installed like this:
we'll replace .htaccess with vhost.conf
Pull changes into Apache:
phpMyAdmin:
CREATE DATABASE roundcubemail /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */;
GRANT ALL PRIVILEGES ON roundcubemail.* TO roundcube@localhost IDENTIFIED BY 'ENTER-VERY-SECURE-PASSWORD';
The SAME password will need to be used in the following step - goto install URL and follow instructions:
https://webmail.domain.com/installer/
remove "installer" dir afterwards...
There are some INSTALL/UPGRADE docs with the installer, read them to be certain you know what you are doing.
Just add a webmail.domain.com entry in DNS for each domain that requires it.
Have all other Plesk webmail options switched off/un-installed, you may need to use a different subdomain eg roundcube?
Good luck
Code: Select all
cd /var/www; ls -lah
download roundcubemail-0.5.1.tar.gz and unpack (get latest v/URL from here: http://roundcube.net/download)
mv roundcubemail-0.5.1 roundcube
chown root:root roundcube/*
cd /var/www/roundcube; ls -lah
chmod 0777 temp
rmdir logs (we'll be using syslog)
cp skins/default/images/favicon.ico favicon.ico
Code: Select all
rm -f .htaccess config/.htaccess temp/.htaccess
vi /etc/httpd/conf.d/zz100-roundcube.conf
# redirect port 80 -> 443 (if you require https)
<VirtualHost \
IP.RANGE.START:80 \
IP.RANGE.END:80 \
>
ServerName webmail
ServerAlias webmail.*
UseCanonicalName Off
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRAC(E|K)
RewriteRule .* - [F,L]
RewriteCond %{HTTPS} !=on
RewriteRule ^/.* https://%{HTTP_HOST}/$1 [NC,R,L]
</IfModule>
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost \
IP.RANGE.START:443 \
IP.RANGE.END:443 \
>
DocumentRoot /var/www/roundcube/
ServerName webmail
ServerAlias webmail.*
UseCanonicalName Off
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRAC(E|K)
RewriteRule .* - [F,L]
</IfModule>
SSLEngine on
SSLVerifyClient none
SSLCertificateFile /etc/httpd/conf/httpd.pem
<Directory /var/www/roundcube>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag magic_quotes_gpc off
php_admin_flag safe_mode off
php_admin_value open_basedir "/var/www/roundcube:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag magic_quotes_gpc off
php_admin_flag safe_mode off
php_admin_value open_basedir "/var/www/roundcube:/tmp"
</IfModule>
SSLRequireSSL
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/roundcube/config>
Order allow,deny
Deny from all
</Directory>
<Directory /var/www/roundcube/temp>
Order allow,deny
Deny from all
</Directory>
</VirtualHost>
</IfModule>
Code: Select all
apachectl -t && apachectl graceful
CREATE DATABASE roundcubemail /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */;
GRANT ALL PRIVILEGES ON roundcubemail.* TO roundcube@localhost IDENTIFIED BY 'ENTER-VERY-SECURE-PASSWORD';
The SAME password will need to be used in the following step - goto install URL and follow instructions:
https://webmail.domain.com/installer/
remove "installer" dir afterwards...
There are some INSTALL/UPGRADE docs with the installer, read them to be certain you know what you are doing.
Just add a webmail.domain.com entry in DNS for each domain that requires it.
Have all other Plesk webmail options switched off/un-installed, you may need to use a different subdomain eg roundcube?
Good luck
Re: Webmail for Plesk 8.6 working with PHP 5.3.x
Thanks a lot for the detailed instructions! Will be trying it out tonight!
Scott: Maybe something to configure in a rpm?
Scott: Maybe something to configure in a rpm?
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Webmail for Plesk 8.6 working with PHP 5.3.x
sure, I'll add that to the list
Re: Webmail for Plesk 8.6 working with PHP 5.3.x
Kalimari: Thanks a lot! Works like a charm!
Re: Webmail for Plesk 8.6 working with PHP 5.3.x
No problem, glad it worked outbiggles wrote:Kalimari: Thanks a lot! Works like a charm!
Re: Webmail for Plesk 8.6 working with PHP 5.3.x
Hi Scott,
Roundcube is a good Webmail, I will happy with this on ART...
Regards.
Roundcube is a good Webmail, I will happy with this on ART...
Regards.
Re: Webmail for Plesk 8.6 working with PHP 5.3.x
Hi,
Great tutorial, can you confirm if that's for one domain or if we can install server-wide for all domains on the Plesk machine ?
Once again scary behaviors in Plesk that carries obsolete versions - we had to upgrade to PHP 5.3 but are now dealing with various side-effects...
Great tutorial, can you confirm if that's for one domain or if we can install server-wide for all domains on the Plesk machine ?
Once again scary behaviors in Plesk that carries obsolete versions - we had to upgrade to PHP 5.3 but are now dealing with various side-effects...
Re: Webmail for Plesk 8.6 working with PHP 5.3.x
webmail is assigned by IP in the virtualhost directive:netagence wrote:Hi,
Great tutorial, can you confirm if that's for one domain or if we can install server-wide for all domains on the Plesk machine ?
Once again scary behaviors in Plesk that carries obsolete versions - we had to upgrade to PHP 5.3 but are now dealing with various side-effects...
<VirtualHost \
IP.RANGE.START:443 \
IP.RANGE.END:443 \
>
Then DNS needs to be added per domain: webmail.domain.tld > IP