Compare commits
8 Commits
11_0_0-10_
...
11_0_0-14_
Author | SHA1 | Date | |
---|---|---|---|
9e05a63784 | |||
52e318c808 | |||
51f6d90e78 | |||
c5703d4d30 | |||
c5c00ab58d | |||
![]() |
2bb7a3d853 | ||
519a404456 | |||
8eea5fb089 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,3 +2,4 @@
|
||||
*.log
|
||||
*spec-20*
|
||||
*.tar.xz
|
||||
*.bak
|
||||
|
@@ -7,7 +7,14 @@ SMEServer Koozali developed git repo for smeserver-dovecot smeserver
|
||||
<br />https://wiki.koozali.org/Smeserver-dovecot-extras
|
||||
|
||||
## Bugzilla
|
||||
Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-dovecot&product=SME%20Server%2010.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
|
||||
Show list of outstanding bugs:
|
||||
[All](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=NEEDINFO&bug_status=IN_PROGRESS&bug_status=RESOLVED&bug_status=VERIFIED&cf_package=smeserver-dovecot&classification=SME+Server&list_id=105756&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||
[Confirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=CONFIRMED&cf_package=smeserver-dovecot&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||
[Unconfirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&cf_package=smeserver-dovecot&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||
[Need info](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=NEEDINFO&cf_package=smeserver-dovecot&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||
[In progress](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=IN_PROGRESS&cf_package=smeserver-dovecot&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||
[Resolved](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=RESOLVED&cf_package=smeserver-dovecot&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||
[Verified](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=VERIFIED&cf_package=smeserver-dovecot&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||
|
||||
## Description
|
||||
|
||||
|
@@ -1 +0,0 @@
|
||||
sme10
|
@@ -7,5 +7,9 @@
|
||||
foreach my $prope (qw( SSLv2 SSLv3 TLSv1 TLSv1.1 TLSv1.2 dh )) {
|
||||
$DB->get_prop_and_delete('dovecot', $prope) if (exists $dovecot{$prope});
|
||||
}
|
||||
# drop SSLv2 from ssl_min_protocol
|
||||
foreach my $prope (qw( SSLv2 )) {
|
||||
$DB->get_prop_and_delete('dovecot', 'ssl_min_protocol') if (exists $dovecot{'ssl_min_protocol'} && $dovecot{'ssl_min_protocol'} eq $prope);
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -2,13 +2,11 @@ ssl = {$OUT .= ( (($imaps{'status'} || 'enabled') eq 'enabled') || (($pops{'stat
|
||||
ssl_cert = </etc/dovecot/ssl/imapd.pem
|
||||
ssl_key = </etc/dovecot/ssl/imapd.pem
|
||||
{
|
||||
|
||||
my %protos={SLv3=>1,TLSv1=>1, TLSv1.1=>1, TLSv1.2=>1,TLSv1.3=>1};
|
||||
my $proto = ( (exists $dovecot{'ssl_min_protocol'} ) && (exists $protos{$dovecot{'ssl_min_protocol'}} ) ) ? $dovecot{'ssl_min_protocol'} : 'TLSv1.2';
|
||||
use esmith::ssl;
|
||||
my $proto = ( (exists $dovecot{'ssl_min_protocol'} ) && (exists $existingSSLprotos{$dovecot{'ssl_min_protocol'}} ) ) ? $dovecot{'ssl_min_protocol'} : SSLprotoMin();
|
||||
|
||||
$OUT .= "ssl_dh=</etc/dovecot/ssl/dhparam.pem\n";
|
||||
$OUT .= "ssl_min_protocol = $proto\n" if ($proto ne '');
|
||||
$OUT .= "ssl_prefer_server_ciphers = yes\n";
|
||||
$OUT .= "ssl_cipher_list = " . ($dovecot{CipherSuite} || $modSSL{CipherSuite} || 'ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-GCM-SHA256:HIGH@STRENGTH:!SSLv2:!ADH:!aNULL:!MD5:!RC4') . "\n";
|
||||
|
||||
$OUT .= "ssl_cipher_list = " . ($dovecot{CipherSuite} || $modSSL{CipherSuite} || $smeCiphers ). "\n";
|
||||
}
|
||||
|
@@ -45,6 +45,19 @@ _EOF
|
||||
my $shared_mb = "\n# SharedMailbox is disabled\n";
|
||||
my $public_mb = "\n# PublicMailbox is disabled\n";
|
||||
if (($dovecot{'SharedMailbox'} || 'disabled') eq 'enabled'){
|
||||
if (($dovecot{'PrivateIndex'} || 'disabled') eq 'enabled'){
|
||||
$shared_mb =<<'_EOF';
|
||||
namespace {
|
||||
type = shared
|
||||
separator = /
|
||||
prefix = shared/%%u/
|
||||
location = maildir:%%h/Maildir:INDEXPVT=~/Maildir/shared/%%u
|
||||
subscriptions = no
|
||||
list = children
|
||||
}
|
||||
_EOF
|
||||
}
|
||||
if (($dovecot{'PrivateIndex'} || 'disabled') eq 'disabled'){
|
||||
$shared_mb =<<'_EOF';
|
||||
namespace {
|
||||
type = shared
|
||||
@@ -55,6 +68,7 @@ namespace {
|
||||
list = children
|
||||
}
|
||||
_EOF
|
||||
}
|
||||
}
|
||||
if (($dovecot{'PublicMailbox'} || 'disabled') eq 'enabled'){
|
||||
$public_mb =<<'_EOF';
|
||||
@@ -87,3 +101,4 @@ _EOF
|
||||
push @conf, $common, $shared_mb, $public_mb, $acl;
|
||||
$OUT .= '';
|
||||
}
|
||||
|
||||
|
0
root/home/e-smith/files/public/.gitignore
vendored
Normal file
0
root/home/e-smith/files/public/.gitignore
vendored
Normal file
@@ -1,5 +1,5 @@
|
||||
%define version 11.0.0
|
||||
%define release 10
|
||||
%define release 14
|
||||
%define name smeserver-dovecot
|
||||
|
||||
|
||||
@@ -41,6 +41,20 @@ Configure the dovecot IMAP server with sieve scripts support,
|
||||
quota, ACL, extended logging, master user
|
||||
|
||||
%changelog
|
||||
* Sat Jan 18 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-14.sme
|
||||
- use esmith::ssl to set ciphers and protocol [SME: 12821]
|
||||
improve cipher order to get strongers first
|
||||
drop SSLv2
|
||||
|
||||
* Mon Oct 21 2024 John Crisp <jcrisp@safeandsoundit.co.uk> 11.0.0-13.sme
|
||||
- use INDEXPVT instead of INDEX for shared mailboxes [SME: 12150]
|
||||
|
||||
* Wed Sep 25 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-12.sme
|
||||
- fix missing sharedmailbox group [SME: 12735]
|
||||
|
||||
* Tue Sep 24 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-11.sme
|
||||
- add missing /home/e-smith/files/public/ folder [SME: 12735]
|
||||
|
||||
* Wed Sep 11 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-10.sme
|
||||
- merge dovecot-extra [SME: 12735]
|
||||
- add sieves support over ssl and improve template
|
||||
@@ -268,6 +282,9 @@ if [ $1 -gt 1 ] ; then
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
/usr/sbin/groupadd -g 439 sharedmailbox 2> /dev/null || :
|
||||
|
||||
%post
|
||||
|
||||
%preun
|
||||
|
Reference in New Issue
Block a user