* Thu Apr 04 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-6.sme
- fix migrate fragment error [SME: 12548] - add support for quota-fs [SME: 11733] - fix ssl and config issues [SME: 12571] - use external dh parameter [SME: 10935]master 11_0_0-6_el8_sme
parent
e833d6e71d
commit
f65f3a8a6a
@ -1,5 +1,11 @@
|
||||
{
|
||||
foreach my $sservice qw(imap imaps pop3 pop3s) {
|
||||
$DB->set_prop($sservice, "type", "configuration") if $DB->${$sservice}->{type} eq "service";
|
||||
foreach my $sservice (qw(imap imaps pop3 pop3s)) {
|
||||
$DB->set_prop($sservice, "type", "configuration") if ${$sservice}{type} eq "service";
|
||||
}
|
||||
# drop dovecot SSLv2 SSLv3 TLSv1 TLSv1.1 TLSv1.2 and move to ssl_min_protocol
|
||||
# drop dovecot dh
|
||||
foreach my $prope (qw( SSLv2 SSLv3 TLSv1 TLSv1.1 TLSv1.2 dh )) {
|
||||
$DB->get_prop_and_delete('dovecot', $prope) if (exists $dovecot{$prope});
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1,2 +0,0 @@
|
||||
[Install]
|
||||
WantedBy=sme-server.target
|
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
# Create dhparam
|
||||
[ -e /etc/dovecot/ssl/dhparam.pem ] || \
|
||||
RANDFILE=/dev/null /usr/bin/openssl dhparam -out /etc/dovecot/ssl/dhparam.pem 2048
|
Loading…
Reference in New Issue