projects
/
postfix-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
postavlja neke tls parametre
[postfix-cn.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
868dad4
..
80c04dc
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-288,6
+288,10
@@
postconf -e smtpd_tls_key_file="\$smtpd_tls_cert_file"
postconf -e smtpd_tls_session_cache_database="sdbm:/var/lib/postfix/smtpd_scache"
postconf -e smtpd_tls_session_cache_timeout="3600s"
postconf -e tls_random_source="dev:/dev/urandom"
postconf -e smtpd_tls_session_cache_database="sdbm:/var/lib/postfix/smtpd_scache"
postconf -e smtpd_tls_session_cache_timeout="3600s"
postconf -e tls_random_source="dev:/dev/urandom"
+postconf -e smtpd_tls_mandatory_protocols="SSLv3, TLSv1"
+postconf -e smtpd_tls_mandatory_ciphers="medium, high"
+postconf -e smtpd_tls_exclude_ciphers="aNULL"
+postconf -e smtpd_tls_mandatory_exclude_ciphers="aNULL"
# ako je postavljen neki drugi certifikat, ne diraj
smtp_tls_cert_file="`postconf -h smtp_tls_cert_file`"
if [ -z "$smtp_tls_cert_file" ]; then
# ako je postavljen neki drugi certifikat, ne diraj
smtp_tls_cert_file="`postconf -h smtp_tls_cert_file`"
if [ -z "$smtp_tls_cert_file" ]; then