diff --git a/dovecot23.changes b/dovecot23.changes index 490bb09..157be03 100644 --- a/dovecot23.changes +++ b/dovecot23.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon May 20 14:25:49 UTC 2019 - Peter Varkoly + +- bsc#1134242 - upgrade from 42.3 to 15.1: dovecot shows Unknown + protocol 'SSLv2' + * remove !SSLv2 from existing ssl_protocols configuration + during upgrade + ------------------------------------------------------------------- Tue Apr 30 13:49:18 UTC 2019 - Marcus Rueckert diff --git a/dovecot23.spec b/dovecot23.spec index b8044e0..32287b0 100644 --- a/dovecot23.spec +++ b/dovecot23.spec @@ -472,6 +472,10 @@ if [ "$FIRST_ARG" -ge "1" ]; then fi %endif fi +# remove !SSLv2 from ssl_protocols (no longer supported in openssl-1.1.0) +if grep -s -q "ssl_protocols .*!SSLv2" /etc/dovecot/conf.d/10-ssl.conf; then + sed -i 's/^\(ssl_protocols.*\)[[:blank:]]!SSLv2\(.*\)$/\1\2/g' /etc/dovecot/conf.d/10-ssl.conf +fi %post -p /sbin/ldconfig