10 lines
197 B
Plaintext
10 lines
197 B
Plaintext
|
case "${ACTION}" in
|
||
|
post)
|
||
|
if [ -f etc/ssl/private/dovecot.pem -a -f etc/ssl/certs/dovecot.pem ]; then
|
||
|
exit 0
|
||
|
fi
|
||
|
echo "Creating self-signed certificate..."
|
||
|
usr/sbin/dovecot-mkcert.sh
|
||
|
;;
|
||
|
esac
|