aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixops/modules/websites/tools/tools/roundcubemail.nix62
1 files changed, 21 insertions, 41 deletions
diff --git a/nixops/modules/websites/tools/tools/roundcubemail.nix b/nixops/modules/websites/tools/tools/roundcubemail.nix
index abd0387..1e1f95b 100644
--- a/nixops/modules/websites/tools/tools/roundcubemail.nix
+++ b/nixops/modules/websites/tools/tools/roundcubemail.nix
@@ -84,6 +84,11 @@ let
84 $config['default_host'] = 'ssl://mail.immae.eu'; 84 $config['default_host'] = 'ssl://mail.immae.eu';
85 $config['imap_conn_options'] = array("ssl" => array("verify_peer" => false)); 85 $config['imap_conn_options'] = array("ssl" => array("verify_peer" => false));
86 $config['smtp_server'] = 'tls://mail.immae.eu'; 86 $config['smtp_server'] = 'tls://mail.immae.eu';
87 $config['smtp_port'] = '25';
88 $config['managesieve_host'] = 'mail.immae.eu';
89 $config['managesieve_port'] = '4190';
90 $config['managesieve_usetls'] = true;
91 $config['managesieve_conn_options'] = array("ssl" => array("verify_peer" => false));
87 92
88 $config['imap_cache'] = 'db'; 93 $config['imap_cache'] = 'db';
89 $config['messages_cache'] = 'db'; 94 $config['messages_cache'] = 'db';
@@ -94,48 +99,23 @@ let
94 99
95 $config['skin'] = 'elastic'; 100 $config['skin'] = 'elastic';
96 $config['plugins'] = array( 101 $config['plugins'] = array(
97 // 'acl',
98 // 'additional_message_headers',
99 // 'archive',
100 'attachment_reminder', 102 'attachment_reminder',
101 // 'autologon', 103 'emoticons',
102 // 'database_attachments', 104 'filesystem_attachments',
103 // 'debug_logger', 105 'hide_blockquote',
104 // 'emoticons', 106 'identicon',
105 // 'enigma', 107 'identity_select',
106 // 'example_addressbook', 108 'jqueryui',
107 // 'filesystem_attachments', 109 'managesieve',
108 // 'help', 110 'newmail_notifier',
109 // 'hide_blockquote', 111 'vcard_attachments',
110 // 'http_authentication', 112 'zipdownload',
111 // 'identicon',
112 // 'identity_select',
113 // 'jqueryui',
114 // 'krb_authentication',
115 // 'managesieve',
116 // 'markasjunk',
117 // 'new_user_dialog',
118 // 'new_user_identity',
119 // 'newmail_notifier',
120 // 'password',
121 // 'redundant_attachments',
122 // 'show_additional_headers',
123 // 'squirrelmail_usercopy',
124 // 'subscriptions_option',
125 // 'userinfo',
126 // 'vcard_attachments',
127 // 'virtuser_file',
128 // 'virtuser_query',
129 // 'zipdownload',
130 113
131 // 'automatic_addressbook', 114 'automatic_addressbook',
132 // 'carddav', 115 'message_highlight',
133 // 'contextmenu', 116 'carddav',
134 // 'contextmenu_folder', 117 // Ne marche pas ?: 'ident_switch',
135 // 'html5_notifier', 118 // Ne marche pas ?: 'thunderbird_labels',
136 // 'ident_switch',
137 // 'message_highlight',
138 // 'thunderbird_labels',
139 ); 119 );
140 120
141 $config['language'] = 'fr_FR'; 121 $config['language'] = 'fr_FR';
@@ -147,7 +127,7 @@ let
147 $config['default_folders'] = array('INBOX', 'Mail/Drafts', 'Mail/sent', 'Mail/Spam', '''); 127 $config['default_folders'] = array('INBOX', 'Mail/Drafts', 'Mail/sent', 'Mail/Spam', ''');
148 $config['draft_autosave'] = 60; 128 $config['draft_autosave'] = 60;
149 $config['enable_installer'] = false; 129 $config['enable_installer'] = false;
150 $config['log_driver'] = 'stdout'; 130 $config['log_driver'] = 'file';
151 $config['temp_dir'] = '${varDir}/cache'; 131 $config['temp_dir'] = '${varDir}/cache';
152 $config['mime_types'] = '${apacheHttpd}/conf/mime.types'; 132 $config['mime_types'] = '${apacheHttpd}/conf/mime.types';
153 ''; 133 '';