mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-31 11:45:44 +02:00
Update to 2025-01-28 15:00
This commit is contained in:
@@ -44,7 +44,8 @@ for MAILBOX in $(/usr/local/bin/zmprov getQuotaUsage $(hostname --fqdn) | awk '{
|
||||
continue
|
||||
fi
|
||||
DIR=$(echo $LINE | perl -ne 'm/\s*\d+\s+(\w{4})\s+\d+\s+\d+\s+(\/.*)/ && print "$2\n"')
|
||||
if echo $DIR | grep -qiP '\([a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}:\d+\)$'; then
|
||||
if echo $DIR | grep -qiP '\(([a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}|null):\d+\)$'; then
|
||||
echo "Skipping dir $DIR as it's a shared folder"
|
||||
continue
|
||||
fi
|
||||
TYPE=$(echo $LINE | perl -ne 'm/\s*\d+\s+(\w{4})\s+\d+\s+\d+\s+(\/.*)/ && print "$1\n"')
|
||||
|
Reference in New Issue
Block a user