From ee4a817643a48dc2c5d82d27db47c19bbae90850 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 5 Oct 2011 15:00:39 +0200 Subject: Document Roundcube configuration --- fripost-docs.org | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) (limited to 'fripost-docs.org') diff --git a/fripost-docs.org b/fripost-docs.org index 23560fd..58c0036 100644 --- a/fripost-docs.org +++ b/fripost-docs.org @@ -228,6 +228,7 @@ openbsd-inetd portmap tasksel tasksel-data w3m run_daemon="true" + * Next Steps ** Configuring the backup solution @@ -772,10 +773,51 @@ sudo apt-get install apache2 *** Roundcube +**** Installing roundcube + +Add the backports repository first, to make sure we're running a somewhat more +current version than the one in stable. + +sudo apt-get install roundcube + +:: /etc/roundcube/main.inc.php + + # Use caching + $rcmail_config['enable_caching'] = TRUE; + + # fripost.org specific + $rcmail_config['force_https'] = TRUE; + $rcmail_config['default_host'] = 'ssl://imap.fripost.org'; + $rcmail_config['imap_auth_type'] = 'plain'; + $rcmail_config['username_domain'] = 'fripost.org'; + + # use IP for extra paranoia + $rcmail_config['ip_check'] = true; + + # Locale settings + $rcmail_config['language'] = 'sv_SE'; + $rcmail_config['date_long'] = 'Y-m-d.Y H:i'; + + $rcmail_config['product_name'] = 'Fripost'; + + # IMAP Folders (I guess these were changed for compatibility with SquirrelMail) + $rcmail_config['drafts_mbox'] = 'INBOX.Drafts'; + $rcmail_config['junk_mbox'] = 'INBOX.Junk'; + $rcmail_config['sent_mbox'] = 'INBOX.Sent'; + $rcmail_config['default_imap_folders'] = array('INBOX', 'INBOX.Drafts', 'INBOX.Sent', 'INBOX.Junk', 'Trash'); + $rcmail_config['create_default_folders'] = TRUE; + + # timezone + $rcmail_config['timezone'] = 'CET'; + + # compose html formatted messages by default + $rcmail_config['htmleditor'] = TRUE; + **** Installing custom logo +LOGO="logo2011_webmail.png" sudo mv /var/lib/roundcube/skins/default/images/roundcube_logo.png /var/lib/roundcube/skins/default/images/roundcube_logo2.png -sudo mv logo2011_webmail.png /var/lib/roundcube/skins/default/images/roundcube_logo.png +sudo mv $LOGO /var/lib/roundcube/skins/default/images/roundcube_logo.png sudo chmod 0644 /var/lib/roundcube/skins/default/images/roundcube_logo.png *** Configuring ikiwiki -- cgit v1.2.3