Skip to content

Commit c41c8f7

Browse files
author
Marius Cramer
committed
- ported some patches
1 parent 2c408f4 commit c41c8f7

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

install/tpl/debian_dovecot2.conf.master

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ postmaster_address = postmaster@example.com
88
ssl_cert = </etc/postfix/smtpd.cert
99
ssl_key = </etc/postfix/smtpd.key
1010
ssl_protocols = !SSLv2 !SSLv3
11+
mail_max_userip_connections = 100
1112
passdb {
1213
args = /etc/dovecot/dovecot-sql.conf
1314
driver = sql
@@ -19,6 +20,7 @@ userdb {
1920
plugin {
2021
quota = dict:user::file:/var/vmail/%d/%n/.quotausage
2122
sieve=/var/vmail/%d/%n/.sieve
23+
sieve_max_redirects = 25
2224
}
2325
service auth {
2426
unix_listener /var/spool/postfix/private/auth {

interface/web/sites/templates/web_backup_list.htm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ <h3><tmpl_var name="list_head_txt"></h3>
2828
<td>{tmpl_var name="filesize"}</td>
2929
<td class="text-right">
3030
<div class="buttons">
31-
<button class="btn btn-default formbutton-default" type="button" onclick="ISPConfig.confirm_action('sites/web_domain_edit.php?id={tmpl_var name='parent_id'}&next_tab=backup&backup_action=restore&backup_id={tmpl_var name='backup_id'}','{tmpl_var name='restore_confirm_txt'}');">{tmpl_var name="restore_backup_txt"}</button>
31+
<button class="btn btn-default formbutton-default" type="button" onclick="ISPConfig.confirm_action('sites/web_vhost_domain_edit.php?id={tmpl_var name='parent_id'}&next_tab=backup&backup_action=restore&backup_id={tmpl_var name='backup_id'}','{tmpl_var name='restore_confirm_txt'}');">{tmpl_var name="restore_backup_txt"}</button>
3232
<tmpl_if name="download_available">
33-
<button class="btn btn-default formbutton-default" type="button" data-load-content="sites/web_domain_edit.php?id={tmpl_var name='parent_id'}&next_tab=backup&backup_action=download&backup_id={tmpl_var name='backup_id'}">{tmpl_var name="download_backup_txt"}</button>
33+
<button class="btn btn-default formbutton-default" type="button" data-load-content="sites/web_vhost_domain_edit.php?id={tmpl_var name='parent_id'}&next_tab=backup&backup_action=download&backup_id={tmpl_var name='backup_id'}">{tmpl_var name="download_backup_txt"}</button>
3434
</tmpl_if>
3535
</div>
3636
</td>

server/plugins-available/backup_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function backup_action($action_name, $data) {
7575

7676
$backup_dir_is_ready = true;
7777
//* mount backup directory, if necessary
78-
if( $server_config['backup_dir_is_mount'] == 'y' && !$app->system->mount_backup_dir($backup_dir) ) $backup_dir_is_ready = false;
78+
if( $server_config['backup_dir_is_mount'] == 'y' && !$app->system->mount_backup_dir($server_config['backup_dir']) ) $backup_dir_is_ready = false;
7979

8080
if($backup_dir_is_ready){
8181
//* Make backup available for download

0 commit comments

Comments
 (0)