Ernesto Nicolás Carrea 5 лет назад
Родитель
Сommit
41fa64e552

+ 3 - 3
install/hst-install-centos.sh

@@ -1445,8 +1445,8 @@ if [ "$dovecot" = 'yes' ] && [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
     touch /var/log/roundcubemail/errors
     chmod 640 /etc/roundcubemail/config.inc.php
     chown root:apache /etc/roundcubemail/config.inc.php
-    chmod 640 /etc/roundcubemail/debian-db-roundcube.php
-    chown root:apache /etc/roundcubemail/debian-db-roundcube.php
+    chmod 640 /etc/roundcubemail/db.inc.php
+    chown root:apache /etc/roundcubemail/db.inc.php
     chmod 640 /var/log/roundcubemail/errors
     chown apache:adm /var/log/roundcubemail/errors
 
@@ -1457,7 +1457,7 @@ if [ "$dovecot" = 'yes' ] && [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
         TO roundcube@localhost IDENTIFIED BY '$r'"
     sed -i "s/%password%/$r/g" /etc/roundcubemail/db.inc.php
     sed -i "s/%des_key%/$rcDesKey/g" /etc/roundcubemail/config.inc.php
-    sed -i "s/localhost/$servername/g" /etc/roundcubemail/plugins/password/config.inc.php
+    sed -i "s/localhost/$servername/g" /usr/share/roundcubemail/plugins/password/config.inc.php
     mysql roundcube < /usr/share/roundcubemail/SQL/mysql
 
     # Enable Roundcube plugins

+ 15 - 0
install/rhel/roundcube/plugins/config_newmail_notifier.inc.php

@@ -0,0 +1,15 @@
+<?php
+
+// Enables basic notification
+$config['newmail_notifier_basic'] = true;
+
+// Enables sound notification
+$config['newmail_notifier_sound'] = false;
+
+// Enables desktop notification
+$config['newmail_notifier_desktop'] = false;
+
+// Desktop notification close timeout in seconds
+$config['newmail_notifier_desktop_timeout'] = 5;
+
+?>

+ 21 - 0
install/rhel/roundcube/plugins/config_zipdownload.inc.php

@@ -0,0 +1,21 @@
+<?php
+
+/**
+ * ZipDownload configuration file
+ */
+
+// Zip attachments
+// Only show the link when there are more than this many attachments
+// -1 to prevent downloading of attachments as zip
+$config['zipdownload_attachments'] = 1;
+
+// Zip selection of mail messages
+// This option enables downloading of multiple messages as one zip archive.
+// The number or string value specifies maximum total size of all messages
+// in the archive (not the size of the archive itself).
+$config['zipdownload_selection'] = '100MB';
+
+// Charset to use for filenames inside the zip
+$config['zipdownload_charset'] = 'ISO-8859-1';
+
+?>