diff --git a/root/etc/e-smith/events/actions/dovecot-acl b/root/etc/e-smith/events/actions/dovecot-acl index ca83b13..fea20ca 100644 --- a/root/etc/e-smith/events/actions/dovecot-acl +++ b/root/etc/e-smith/events/actions/dovecot-acl @@ -14,14 +14,6 @@ die "couldn't find dovecot service\n" unless ($dovecot); my $event = $ARGV[0]; -# If PublicMailbox is enabled -if (($dovecot->prop('PublicMailbox') || 'disabled') eq 'enabled'){ - system('/bin/mkdir' ,'-p', "/home/e-smith/files/public") unless (-d '/home/e-smith/files/public'); - system('/bin/chmod', "770", "/home/e-smith/files/public"); - system('/bin/chmod', 'g+s', "/home/e-smith/files/public"); - system('/bin/chown', 'root.sharedmailbox', "/home/e-smith/files/public"); -} - # SharedMailboxes disabled ? if (($dovecot->prop('SharedMailbox') || 'disabled') eq 'disabled'){ if (($dovecot->prop('SharedMailboxAcl') || 'yes') ne 'no'){