3 Incheckningar

Upphovsman SHA1 Meddelande Datum
  Luke Smith bb349334e8
Merge branch 'master' of github.com:LukeSmithxyz/emailwiz 8 månader sedan
  Luke Smith c404b42c04
disable excluded ciphers until further investigation, close #292 8 månader sedan
  Luke Smith 5e81fdb738
ensure systemd backend for fail2ban 9 månader sedan
1 ändrade filer med 4 tillägg och 2 borttagningar
Delad Vy
  1. +4
    -2
      emailwiz.sh

+ 4
- 2
emailwiz.sh Visa fil

@@ -80,8 +80,8 @@ postconf -e 'smtpd_tls_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1'
postconf -e 'smtp_tls_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1'

# Exclude suboptimal ciphers.
postconf -e 'tls_preempt_cipherlist = yes'
postconf -e 'smtpd_tls_exclude_ciphers = aNULL, LOW, EXP, MEDIUM, ADH, AECDH, MD5, DSS, ECDSA, CAMELLIA128, 3DES, CAMELLIA256, RSA+AES, eNULL'
# postconf -e 'tls_preempt_cipherlist = yes'
# postconf -e 'smtpd_tls_exclude_ciphers = aNULL, LOW, EXP, MEDIUM, ADH, AECDH, MD5, DSS, ECDSA, CAMELLIA128, 3DES, CAMELLIA256, RSA+AES, eNULL'

# Here we tell Postfix to look to Dovecot for authenticating users/passwords.
# Dovecot will be putting an authentication socket in /var/spool/postfix/private/auth
@@ -322,6 +322,8 @@ enabled = true
[dovecot]
enabled = true" > /etc/fail2ban/jail.d/emailwiz.local

sed -i "s|^backend = auto$|backend = systemd|" /etc/fail2ban/jail.conf

# Enable SpamAssassin update cronjob.
if [ -f /etc/default/spamassassin ]
then


Laddar…
Avbryt
Spara