5 "$tool"/remote
/site-x509-key-decrypt imap.
"$domain" |
6 "$tool"/remote
/ssh root@
"$local_fqdn" ' \
7 sudo install -d -m 770 -o root -g root \
8 /etc/dovecot/'"$domain"'/ \
9 /etc/dovecot/'"$domain"'/imap \
10 /etc/dovecot/'"$domain"'/imap/x509 ; \
11 sudo install -m 644 -o root -g root /dev/stdin \
12 /etc/dovecot/'"$domain"'/imap/x509/.gitignore <<-EOF
15 sudo install -m 400 -o root -g root \
17 /etc/dovecot/'"$domain"'/imap/x509/key.pem