1 |
brianr |
1.1 |
diff -ruN smeserver-affa-3.2.2.3.old/root/sbin/affa smeserver-affa-3.2.2.3/root/sbin/affa |
2 |
|
|
--- smeserver-affa-3.2.2.3.old/root/sbin/affa 2016-11-23 17:16:44.907000958 +0100 |
3 |
|
|
+++ smeserver-affa-3.2.2.3/root/sbin/affa 2016-11-23 17:28:11.443000947 +0100 |
4 |
|
|
@@ -4303,7 +4303,7 @@ |
5 |
|
|
|
6 |
|
|
sub imapIndexFilesDeleteCommand() |
7 |
|
|
{ |
8 |
|
|
- return 'USERS=`/usr/bin/find /home/e-smith/files/users -type d -maxdepth 1`;USERS="/home/e-smith/ $USERS"; for u in $USERS ; do ! /usr/bin/test -d $u/Maildir && continue; /usr/bin/find $u/Maildir -maxdepth 2 -type f -name ".imap.index*" -exec /bin/rm -f \'{}\' \; ; /usr/bin/find $u/Maildir -maxdepth 2 -type f -name "dovecot.index*" -exec /bin/rm -f \'{}\' \; ; done'; |
9 |
|
|
+ return 'USERS=`/usr/bin/find /home/e-smith/files/users -maxdepth 1 -type d`;USERS="/home/e-smith/ $USERS"; for u in $USERS ; do ! /usr/bin/test -d $u/Maildir && continue; /usr/bin/find $u/Maildir -maxdepth 2 -type f -name ".imap.index*" -exec /bin/rm -f \'{}\' \; ; /usr/bin/find $u/Maildir -maxdepth 2 -type f -name "dovecot.index*" -exec /bin/rm -f \'{}\' \; ; done'; |
10 |
|
|
} |
11 |
|
|
|
12 |
|
|
sub imapIndexFilesDelete() |