store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Tue Sep 30, 2014 7:56 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Webmail for Plesk 8.6 working with PHP 5.3.x
Unread postPosted: Wed Apr 06, 2011 9:02 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Jul 15, 2008 2:38 pm
Posts: 770
Location: Sweden
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...


Top
 Profile  
 
 Post subject: Re: Webmail for Plesk 8.6 working with PHP 5.3.x
Unread postPosted: Wed Apr 06, 2011 9:32 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7911
Location: earth
Just let me know what that is, and I'll look into packaging it


Top
 Profile  
 
 Post subject: Re: Webmail for Plesk 8.6 working with PHP 5.3.x
Unread postPosted: Wed Apr 06, 2011 9:37 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Jul 15, 2008 2:38 pm
Posts: 770
Location: Sweden
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
viewtopic.php?f=12&t=4909


Top
 Profile  
 
 Post subject: Re: Webmail for Plesk 8.6 working with PHP 5.3.x
Unread postPosted: Wed Apr 06, 2011 9:40 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Jul 15, 2008 2:38 pm
Posts: 770
Location: Sweden
Roundcube looks really good. A Roundcube package would be great!


Top
 Profile  
 
 Post subject: Re: Webmail for Plesk 8.6 working with PHP 5.3.x
Unread postPosted: Wed Apr 06, 2011 10:41 am 
Offline
Forum Regular
Forum Regular

Joined: Wed Jan 02, 2008 3:21 pm
Posts: 520
Location: United Kingdom
Have been using roundcube for ages, its great, installed like this:

Code:
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

we'll replace .htaccess with vhost.conf
Code:
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>

Pull changes into Apache:
Code:
apachectl -t && apachectl graceful

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


Top
 Profile  
 
 Post subject: Re: Webmail for Plesk 8.6 working with PHP 5.3.x
Unread postPosted: Wed Apr 06, 2011 10:50 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Jul 15, 2008 2:38 pm
Posts: 770
Location: Sweden
Thanks a lot for the detailed instructions! Will be trying it out tonight!

Scott: Maybe something to configure in a rpm?


Top
 Profile  
 
 Post subject: Re: Webmail for Plesk 8.6 working with PHP 5.3.x
Unread postPosted: Wed Apr 06, 2011 11:19 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7911
Location: earth
sure, I'll add that to the list


Top
 Profile  
 
 Post subject: Re: Webmail for Plesk 8.6 working with PHP 5.3.x
Unread postPosted: Wed Apr 06, 2011 11:51 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Jul 15, 2008 2:38 pm
Posts: 770
Location: Sweden
Thanks!!!


Top
 Profile  
 
 Post subject: Re: Webmail for Plesk 8.6 working with PHP 5.3.x
Unread postPosted: Wed Apr 06, 2011 4:49 pm 
Offline
Forum Regular
Forum Regular

Joined: Tue Jul 15, 2008 2:38 pm
Posts: 770
Location: Sweden
Kalimari: Thanks a lot! Works like a charm!


Top
 Profile  
 
 Post subject: Re: Webmail for Plesk 8.6 working with PHP 5.3.x
Unread postPosted: Wed Apr 06, 2011 5:38 pm 
Offline
Forum Regular
Forum Regular

Joined: Wed Jan 02, 2008 3:21 pm
Posts: 520
Location: United Kingdom
biggles wrote:
Kalimari: Thanks a lot! Works like a charm!

No problem, glad it worked out :-)


Top
 Profile  
 
 Post subject: Re: Webmail for Plesk 8.6 working with PHP 5.3.x
Unread postPosted: Sat Apr 23, 2011 11:04 am 
Offline
Forum User
Forum User

Joined: Sun May 20, 2007 10:44 pm
Posts: 37
Hi Scott,
Roundcube is a good Webmail, I will happy with this on ART...

Regards.


Top
 Profile  
 
 Post subject: Re: Webmail for Plesk 8.6 working with PHP 5.3.x
Unread postPosted: Tue May 10, 2011 6:35 am 
Offline
Forum User
Forum User

Joined: Tue May 10, 2011 6:32 am
Posts: 5
Location: Paris
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...


Top
 Profile  
 
 Post subject: Re: Webmail for Plesk 8.6 working with PHP 5.3.x
Unread postPosted: Tue May 10, 2011 8:37 am 
Offline
Forum Regular
Forum Regular

Joined: Wed Jan 02, 2008 3:21 pm
Posts: 520
Location: United Kingdom
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...


webmail is assigned by IP in the virtualhost directive:
<VirtualHost \
IP.RANGE.START:443 \
IP.RANGE.END:443 \
>

Then DNS needs to be added per domain: webmail.domain.tld > IP


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group