cp_check_and_sed '#ssl_key = </etc/dovecot/private/dovecot.pem' \
's|#ssl_key = </etc/dovecot/private/dovecot.pem|ssl_key = </etc/dovecot/private/dovecot.pem|g' \
/etc/dovecot/conf.d/10-ssl.conf || true
+ # negdje se pojavljuje dovecot.key
+ cp_check_and_sed 'ssl_key = </etc/dovecot/private/dovecot.key' \
+ 's|ssl_key = </etc/dovecot/private/dovecot.key|ssl_key = </etc/dovecot/private/dovecot.pem|g' \
+ /etc/dovecot/conf.d/10-ssl.conf || true
fi