diff options
author | Stefan Kangas <skangas@skangas.se> | 2011-10-05 15:00:39 +0200 |
---|---|---|
committer | Stefan Kangas <skangas@skangas.se> | 2011-10-05 15:00:39 +0200 |
commit | ee4a817643a48dc2c5d82d27db47c19bbae90850 (patch) | |
tree | da3efa1bcfca2aca79cdb36af5567744b97d04be | |
parent | 8c3b0773601616764073738697a4a5180e582f99 (diff) |
Document Roundcube configuration
-rw-r--r-- | fripost-docs.org | 44 |
1 files changed, 43 insertions, 1 deletions
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 |