"$local_domainname" \
cyclocoop.org
do
- assert "sudo test -f /etc/dovecot/$domain/imap/x509/key.pem" hint
- sudo install -m 400 -o root -g root \
- "$tool"/var/pub/x509/imap."$domain"/crt+crl.self-signed.pem \
- /etc/dovecot/"$domain"/imap/x509/crt+crl.self-signed.pem
+ for protocol in imap pop
+ do
+ assert "sudo test -f /etc/dovecot/$domain/"$protocol"/x509/key.pem" hint
+ sudo install -m 400 -o root -g root \
+ "$tool"/var/pub/x509/"$protocol"."$domain"/crt+crl.self-signed.pem \
+ /etc/dovecot/"$domain"/"$protocol"/x509/crt+crl.self-signed.pem
+ done
done
hint="run before: local/runit-configure nginx -- autoconfig"