Package: dovecot-cn
Architecture: all
-Depends: ${misc:Depends}, dovecot-core (>= 1:2.3.4.1), dovecot-imapd (>= 1:2.3.4.1), dovecot-pop3d (>= 1:2.3.4.1), carnet-tools-cn (>= 3)
+Depends: ${misc:Depends}, dovecot-core (>= 1:2.3.4.1), dovecot-imapd (>= 1:2.3.4.1), dovecot-pop3d (>= 1:2.3.4.1), carnet-tools-cn (>= 3), ssl-cert
Description: secure mail server that supports mbox and maildir mailboxes
Dovecot is a mail server whose major goals are security and extreme
reliability. It tries very hard to handle all error conditions and verify
test -f /etc/dovecot/conf.d/95-cn7-upgrade.conf && mv /etc/dovecot/conf.d/95-cn7-upgrade.conf /var/backups || true
test -f /etc/dovecot/conf.d/95-cn8-upgrade.conf && mv /etc/dovecot/conf.d/95-cn8-upgrade.conf /var/backups || true
test -f /etc/dovecot/conf.d/95-cn9-upgrade.conf && mv /etc/dovecot/conf.d/95-cn9-upgrade.conf /var/backups || true
+# nije više potrebno editirati dovecot.conf koji je samo hrpa includea
+test -f /etc/dovecot/dovecot.conf.cn6-upgrade && mv /etc/dovecot/dovecot.conf.cn6-upgrade /var/backups || true
+test -f /etc/dovecot/dovecot.conf.cn7-upgrade && mv /etc/dovecot/dovecot.conf.cn7-upgrade /var/backups || true
+test -f /etc/dovecot/dovecot.conf.cn8-upgrade && mv /etc/dovecot/dovecot.conf.cn8-upgrade /var/backups || true
+test -f /etc/dovecot/dovecot.conf.cn9-upgrade && mv /etc/dovecot/dovecot.conf.cn9-upgrade /var/backups || true
# staro, može se brisati
# dodao ico, gasi SSLv3 protokol
[ req ]
-default_bits = 1024
+default_bits = 2048
encrypt_key = yes
distinguished_name = req_dn
x509_extensions = cert_type
[ req_dn ]
# country (2 letter code)
-#C=FI
+C=HR
# State or Province Name (full name)
#ST=