Roundcube
Introduction
Roundcube webmail is a browser-based multilingual IMAP client with an application-like user interface. It provides full functionality you expect from an email client, including MIME support, address book, folder manipulation, message searching and spell checking.
Installation
There are 3 ways of installing Roundcube...
- From your systems package repository
- Download precompiled binary
- Compile from source
From your systems package repository
This may not give you the latest version.
sudo apt-get install roundcube
Download precompiled binary
This will give you the latest version.
https://www.linode.com/docs/email/clients/install-roundcube-on-ubuntu-14-04
https://roundcube.net/download/ (complete version)
Install NOTES
Error = PHP Error: Request security check failed (GET /?_task=logout)
Fix = You have to install javascript dependencies. See INSTALL text file...
cd /var/www/html/roundcube/bin/ ./install-jsdeps.sh
Error = SMTP Error (250): Authentication Failed
Fix = edit your config.inc.php to include these lines...
$config['default_host'] = 'tls://localhost'; $config['smtp_port'] = 25; $config['smtp_auth_type'] = 'LOGIN';
...and change some Postfix settings...
$ postconf -e 'smtpd_sasl_security_options = noanonymous' $ postconf -e 'smtpd_tls_auth_only = no' sudo service postfix restart
https://bobcares.com/blog/roundcube-smtp-error-250-authentication-failed/
Compile from source
https://github.com/roundcube/roundcubemail/wiki/Build-from-source
Upgrade
https://github.com/roundcube/roundcubemail/wiki/Upgrade
Auto Responder Reply Out of Office Vacation
http://www.titan21.co.uk/blog/roundcube/adding-an-auto-responder/
Mobile Theme
Absolutely awful instructions for this on their web site, but I've put down them down here in my way.
The issue is that Ubuntu installs the files in TWO places... /var/lib/ and /usr/share/.
So, you have to download them to the actual folders where they are kept and then symlink them to where Ubuntu wants to find them.
(sigh - that's 2 hours of my life I am not getting back)
Instructions for Ubuntu version...
sudo -i cd /usr/share/roundcube/plugins git clone https://github.com/messagerie-melanie2/Roundcube-Plugin-Mobile.git git clone https://github.com/messagerie-melanie2/Roundcube-Plugin-JQuery-Mobile.git mv Roundcube-Plugin-Mobile/ mobile mv Roundcube-Plugin-JQuery-Mobile/ jquery_mobile cd /usr/share/roundcube/skins git clone https://github.com/messagerie-melanie2/Roundcube-Skin-Melanie2-Larry-Mobile.git mv Roundcube-Skin-Melanie2-Larry-Mobile/ melanie2_larry_mobile cd /var/lib/roundcube/plugins ln -s /usr/share/roundcube/plugins/jquery_mobile ln -s /usr/share/roundcube/plugins/mobile cd /var/lib/roundcube/skins ln -s /usr/share/roundcube/skins/melanie2_larry_mobile cd /var/lib/roundcube/config/ nano config.inc.php $config['plugins'] = array( 'archive', 'zipdownload', 'managesieve', 'mobile', );
Instructions for downloaded version...
sudo -i cd /var/www/roundcube/plugins git clone https://github.com/messagerie-melanie2/Roundcube-Plugin-Mobile.git mobile git clone https://github.com/messagerie-melanie2/Roundcube-Plugin-JQuery-Mobile.git jquery_mobile chown -R www-data:www-data mobile/ jquery_mobile/ cd ../skins/ git clone https://github.com/messagerie-melanie2/Roundcube-Skin-Melanie2-Larry-Mobile.git melanie2_larry_mobile chown -R www-data:www-data melanie2_larry_mobile/ cd ../config/ nano config.inc.php $config['plugins'] = array('managesieve','mobile');
Once it is installed, login and you will see a 'Mobile View' option in the top left hand corner.
Which is nice... so yeah, worth the effort.