Skip to content
This repository was archived by the owner on Jan 27, 2024. It is now read-only.

Commit 2fd4076

Browse files
author
Shawn Iverson
committed
2 Changes
Reduce tls ciphers to medium for compatibility Add new dcc servers without replacing dcc-servers.net servers
1 parent 71993e6 commit 2fd4076

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

CHANGELOG

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Issue #385 Bug - Changed from reload to restart for Postfix
88
Issue #387 Enhancement - Updated MariaDB recovery script
99

1010
Enhancement - Let's Encrypt
11-
Enhancement - Removed public DCC servers and add EFA sponsored DCC servers
11+
Enhancement - Add EFA sponsored DCC servers
1212
Enhancement - Hypervisor detection during init
1313
Security - Regenerate self signed certs for Postfix/Apache/Webmin
1414
Security - Enabled strong cipher preference in Postfix
@@ -18,9 +18,6 @@ Bug - Updated menu options for "Apache Settings" menu
1818
Bug - Quarantine report to flip from HTTP to HTTPS
1919
Bug - Update quarantine FROM_ADDR to use POSTMASTER address in /etc/EFA-Config
2020

21-
22-
23-
2421
############################################################
2522
EFA Version 3.0.2.4 Changes
2623
############################################################

build/build.bash

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ func_postfix () {
229229
postconf -e "masquerade_domains = \$mydomain"
230230
# harden postfix
231231
postconf -e "tls_preempt_cipherlist = yes"
232-
postconf -e "tls_high_cipherlist = ECDSA+AESGCM:ECDH+AESGCM:DH+AESGCM:ECDSA+AES:ECDH+AES:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS"
232+
postconf -e "tls_medium_cipherlist = ECDSA+AESGCM:ECDH+AESGCM:DH+AESGCM:ECDSA+AES:ECDH+AES:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS"
233233
#other configuration files
234234
newaliases
235235
touch /etc/postfix/transport
@@ -251,7 +251,8 @@ func_postfix () {
251251
# Logjam Vulnerability #188 - #update for v3.0.2.5 for new cipher suite
252252
openssl dhparam -out /etc/postfix/ssl/dhparam.pem 2048
253253
postconf -e "smtpd_tls_dh1024_param_file = /etc/postfix/ssl/dhparam.pem"
254-
postconf -e "smtpd_tls_ciphers = high"
254+
# Set to medium (default) not high for tls compatibility
255+
postconf -e "smtpd_tls_ciphers = medium"
255256

256257
echo "pwcheck_method: auxprop">/usr/lib64/sasl2/smtpd.conf
257258
echo "auxprop_plugin: sasldb">>/usr/lib64/sasl2/smtpd.conf
@@ -1147,12 +1148,7 @@ func_dcc () {
11471148
sed -i "s/#loadplugin Mail::SpamAssassin::Plugin::DCC/loadplugin Mail::SpamAssassin::Plugin::DCC/g" /etc/mail/spamassassin/v310.pre
11481149

11491150
#remove old servers
1150-
/usr/local/bin/cdcc "delete dcc1.dcc-servers.net"
1151-
/usr/local/bin/cdcc "delete dcc2.dcc-servers.net"
1152-
/usr/local/bin/cdcc "delete dcc3.dcc-servers.net"
1153-
/usr/local/bin/cdcc "delete dcc4.dcc-servers.net"
1154-
/usr/local/bin/cdcc "delete dcc5.dcc-servers.net"
1155-
/usr/local/bin/cdcc "delete dcc.nova53.net"
1151+
/usr/local/bin/cdcc "delete dcc.nova53.net" >/dev/null 2>&1
11561152
#add new EFA servers
11571153
/usr/local/bin/cdcc "add dcc1.nova53.net"
11581154
/usr/local/bin/cdcc "add dcc2.nova53.net"

0 commit comments

Comments
 (0)