]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Upgrade roundcube and add plugins
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sat, 13 Apr 2019 08:42:18 +0000 (10:42 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sat, 13 Apr 2019 08:42:18 +0000 (10:42 +0200)
nixops/modules/websites/tools/tools/roundcubemail.nix

index abd0387d5432cf847621bbcaa3e38cfd83f496e8..1e1f95bb8c31b0d368bd63cd10af4d444b07189a 100644 (file)
@@ -84,6 +84,11 @@ let
         $config['default_host'] = 'ssl://mail.immae.eu';
         $config['imap_conn_options'] = array("ssl" => array("verify_peer" => false));
         $config['smtp_server'] = 'tls://mail.immae.eu';
+        $config['smtp_port'] = '25';
+        $config['managesieve_host'] = 'mail.immae.eu';
+        $config['managesieve_port'] = '4190';
+        $config['managesieve_usetls'] = true;
+        $config['managesieve_conn_options'] = array("ssl" => array("verify_peer" => false));
 
         $config['imap_cache'] = 'db';
         $config['messages_cache'] = 'db';
@@ -94,48 +99,23 @@ let
 
         $config['skin'] = 'elastic';
         $config['plugins'] = array(
-          // 'acl',
-          // 'additional_message_headers',
-          // 'archive',
           'attachment_reminder',
-          // 'autologon',
-          // 'database_attachments',
-          // 'debug_logger',
-          // 'emoticons',
-          // 'enigma',
-          // 'example_addressbook',
-          // 'filesystem_attachments',
-          // 'help',
-          // 'hide_blockquote',
-          // 'http_authentication',
-          // 'identicon',
-          // 'identity_select',
-          // 'jqueryui',
-          // 'krb_authentication',
-          // 'managesieve',
-          // 'markasjunk',
-          // 'new_user_dialog',
-          // 'new_user_identity',
-          // 'newmail_notifier',
-          // 'password',
-          // 'redundant_attachments',
-          // 'show_additional_headers',
-          // 'squirrelmail_usercopy',
-          // 'subscriptions_option',
-          // 'userinfo',
-          // 'vcard_attachments',
-          // 'virtuser_file',
-          // 'virtuser_query',
-          // 'zipdownload',
+          'emoticons',
+          'filesystem_attachments',
+          'hide_blockquote',
+          'identicon',
+          'identity_select',
+          'jqueryui',
+          'managesieve',
+          'newmail_notifier',
+          'vcard_attachments',
+          'zipdownload',
 
-          // 'automatic_addressbook',
-          // 'carddav',
-          // 'contextmenu',
-          // 'contextmenu_folder',
-          // 'html5_notifier',
-          // 'ident_switch',
-          // 'message_highlight',
-          // 'thunderbird_labels',
+          'automatic_addressbook',
+          'message_highlight',
+          'carddav',
+          // Ne marche pas ?: 'ident_switch',
+          // Ne marche pas ?: 'thunderbird_labels',
         );
 
         $config['language'] = 'fr_FR';
@@ -147,7 +127,7 @@ let
         $config['default_folders'] = array('INBOX', 'Mail/Drafts', 'Mail/sent', 'Mail/Spam', ''');
         $config['draft_autosave'] = 60;
         $config['enable_installer'] = false;
-        $config['log_driver'] = 'stdout';
+        $config['log_driver'] = 'file';
         $config['temp_dir'] = '${varDir}/cache';
         $config['mime_types'] = '${apacheHttpd}/conf/mime.types';
       '';