/etc/dovecot/conf.d/10-ssl.conf || true
fi
+### buster ima DH ključ koji se nalazi u paketu dovecot-core
+# ne radimo ništa ako već postoji ^ssl_dh koji nije prazan
+
+if ! grep -q "^ssl_dh = /" /etc/dovecot/conf.d/10-ssl.conf; then
+ # postavlja DH i uključuje varijablu
+ cp_check_and_sed '#ssl_dh =' \
+ 's,^#ssl_dh.*,ssl_dh = </usr/share/dovecot/dh.pem,g' \
+ /etc/dovecot/conf.d/10-ssl.conf || true
+fi
+
# maknuti kludge kreiran u carnet-upgrade
test -f /etc/dovecot/conf.d/95-cn6-upgrade.conf && mv /etc/dovecot/conf.d/95-cn6-upgrade.conf /var/backups || true
test -f /etc/dovecot/conf.d/95-cn7-upgrade.conf && mv /etc/dovecot/conf.d/95-cn7-upgrade.conf /var/backups || true