mirror of
https://github.com/webmin/webmin.git
synced 2025-08-16 14:51:18 +00:00
Clean zone if journal files are out of sync https://github.com/virtualmin/virtualmin-gpl/issues/130
This commit is contained in:
@ -3481,6 +3481,10 @@ while($tries++ < 10) {
|
||||
" -f ".quotemeta($signed)." ".
|
||||
quotemeta($chrootfn)." 2>&1");
|
||||
last if (!$?);
|
||||
if ($out =~ /out\s+of\s+range/i) {
|
||||
# Journal files are out of sync
|
||||
&try_cmd("sync -clean 2>&1 </dev/null");
|
||||
}
|
||||
}
|
||||
return $out if ($tries >= 10);
|
||||
|
||||
|
@ -27,3 +27,4 @@ show_cmts=0
|
||||
prefix_cmts=0
|
||||
ldap_doms=0
|
||||
delete_confirm=1
|
||||
max_maps=100
|
||||
|
@ -27,3 +27,4 @@ show_cmts=0
|
||||
prefix_cmts=0
|
||||
ldap_doms=0
|
||||
delete_confirm=1
|
||||
max_maps=100
|
||||
|
@ -29,3 +29,4 @@ ldap_doms=0
|
||||
delete_confirm=1
|
||||
start_cmd=/usr/local/etc/rc.d/postfix forcestart
|
||||
stop_cmd=/usr/local/etc/rc.d/postfix forcestop
|
||||
max_maps=100
|
||||
|
@ -27,3 +27,4 @@ show_cmts=0
|
||||
prefix_cmts=0
|
||||
ldap_doms=0
|
||||
delete_confirm=1
|
||||
max_maps=100
|
||||
|
@ -27,3 +27,4 @@ show_cmts=0
|
||||
prefix_cmts=0
|
||||
ldap_doms=0
|
||||
delete_confirm=1
|
||||
max_maps=100
|
||||
|
@ -27,3 +27,4 @@ show_cmts=0
|
||||
prefix_cmts=0
|
||||
ldap_doms=0
|
||||
delete_confirm=1
|
||||
max_maps=100
|
||||
|
@ -29,3 +29,4 @@ show_cmts=0
|
||||
prefix_cmts=0
|
||||
ldap_doms=0
|
||||
delete_confirm=1
|
||||
max_maps=100
|
||||
|
@ -26,3 +26,4 @@ postfix_config_file=/var/packages/MailServer/target/etc/main.cf
|
||||
postfix_config_command=/var/packages/MailServer/target/sbin/postconf
|
||||
mailq_dir=/var/spool/postfix
|
||||
ldap_doms=0
|
||||
max_maps=100
|
||||
|
@ -1,6 +1,6 @@
|
||||
line1=Configurable options,11
|
||||
perpage=Mail messages to display per page,0,6
|
||||
wrap_width=Width to wrap mail messages at,0
|
||||
wrap_width=Width to wrap mail messages at,0,6
|
||||
sort_mode=Sort tables by,1,0-Order in file,1-Name
|
||||
columns=Columns for aliases and other tables,1,2-2,1-1
|
||||
show_cmts=Show descriptions in tables?,1,1-Yes,0-No
|
||||
@ -10,6 +10,7 @@ mailq_count=Show size of mail queue on main page?,1,0-Yes,1-No
|
||||
check_config=Test config file after change?,1,1-Yes,0-No
|
||||
index_check=Check Postfix configuration on main page?,1,1-Yes,0-No
|
||||
delete_confirm=Prompt for confirmation before deleting?,1,1-Yes,0-No
|
||||
max_maps=Maximum map entries to show,0,6
|
||||
|
||||
line2=System configuration,11
|
||||
postfix_control_command=Full path to Postfix control command,0
|
||||
|
Reference in New Issue
Block a user