You've already forked docker-mailserver
mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-08 23:06:49 +02:00
@ -917,7 +917,7 @@ function _fix_var_mail_permissions() {
|
||||
function _fix_var_amavis_permissions() {
|
||||
notify 'task' 'Fixing /var/lib/amavis permissions'
|
||||
|
||||
if [ `find /var/lib/amavis -maxdepth 3 -a \( \! -user amavis -o \! -group amavis \) | grep -c .` != 0 ]; then
|
||||
if [ `find /var/lib/amavis/* -maxdepth 3 -a \( \! -user amavis -o \! -group amavis \) | grep -c .` != 0 ]; then
|
||||
notify 'inf' "Fixing /var/lib/amavis permissions"
|
||||
chown -R amavis:amavis /var/lib/amavis
|
||||
else
|
||||
|
Reference in New Issue
Block a user