Correction : vm_hosted : rule_postfix_configure : permissions .
authorJulien Moutinho <julm+burette@autogeree.net>
Tue, 19 Mar 2013 11:01:44 +0000 (12:01 +0100)
committerJulien Moutinho <julm+burette@autogeree.net>
Tue, 19 Mar 2013 12:43:10 +0000 (13:43 +0100)
vm_hosted

index fae784e..4a4749d 100755 (executable)
--- a/vm_hosted
+++ b/vm_hosted
@@ -987,15 +987,8 @@ rule_postfix_configure () {
        sudo install -m 640 -o root -g root /dev/stdin /etc/postfix/.gitignore <<-EOF
                *.db
                EOF
-       sudo install -d -m 770 -o root -g root \
-        /etc/postfix/$vm_domainname/ \
-        /etc/postfix/$vm_domainname/smtp \
-        /etc/postfix/$vm_domainname/smtp/x509 \
-        /etc/postfix/$vm_domainname/smtp/x509/ca \
-        /etc/postfix/$vm_domainname/smtpd \
-        /etc/postfix/$vm_domainname/smtpd/x509 \
-        /etc/postfix/$vm_domainname/smtpd/x509/ca
-       sudo install -d -m 770 -o root -g root \
+       sudo install -d -m 771 -o root -g root \
+        /etc/postfix/ \
         /etc/postfix/$vm_domainname/ \
         /etc/postfix/$vm_domainname/smtp \
         /etc/postfix/$vm_domainname/smtp/x509 \