X-Git-Url: http://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fsv%2Fpostfix%2Fremote.sh;h=0b610c0a1c1e557991a5b791964e1e57910b45ac;hp=af2dcdb93bd7fc7ff9c2054f1de91cc47508ad62;hb=0d705d8e2a919ee40866307aa3e18b1a5c4e7583;hpb=3ad6118386977e346d81042e924e5db9c5f15b7d diff --git a/etc/sv/postfix/remote.sh b/etc/sv/postfix/remote.sh index af2dcdb..0b610c0 100644 --- a/etc/sv/postfix/remote.sh +++ b/etc/sv/postfix/remote.sh @@ -1,19 +1,19 @@ "$tool"/remote/site-x509-key-decrypt \ - smtpd."$vm_domainname" | + smtpd."$local_domainname" | "$tool"/remote/ssh -l root ' \ sudo install -d -m 770 -o root -g root \ - /etc/postfix/'"$vm_domainname"'/ \ - /etc/postfix/'"$vm_domainname"'/smtpd \ - /etc/postfix/'"$vm_domainname"'/smtpd/x509; \ + /etc/postfix/'"$local_domainname"'/ \ + /etc/postfix/'"$local_domainname"'/smtpd \ + /etc/postfix/'"$local_domainname"'/smtpd/x509; \ sudo install -m 644 -o root -g root /dev/stdin \ - /etc/postfix/'"$vm_domainname"'/smtp/x509/.gitignore <<-EOF + /etc/postfix/'"$local_domainname"'/smtp/x509/.gitignore <<-EOF key.pem EOF sudo install -m 644 -o root -g root /dev/stdin \ - /etc/postfix/'"$vm_domainname"'/smtpd/x509/.gitignore <<-EOF + /etc/postfix/'"$local_domainname"'/smtpd/x509/.gitignore <<-EOF key.pem EOF install -m 400 -o root -g root \ /dev/stdin \ - /etc/postfix/'"'$vm_domainname'"'/smtpd/x509/key.pem + /etc/postfix/'"'$local_domainname'"'/smtpd/x509/key.pem '