3 Commits

Author SHA1 Message Date
John Crisp
2bb7a3d853 use INDEXPVT instead of INDEX for shared mailboxes [SME: 12150] 2024-10-21 18:50:12 +02:00
519a404456 * Wed Sep 25 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-12.sme
- fix missing sharedmailbox group [SME: 12735]
2024-09-25 17:12:35 -04:00
8eea5fb089 * 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]
2024-09-24 22:11:44 -04:00
3 changed files with 28 additions and 1 deletions

View File

@@ -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 .= '';
}

View File

View File

@@ -1,5 +1,5 @@
%define version 11.0.0
%define release 10
%define release 13
%define name smeserver-dovecot
@@ -41,6 +41,15 @@ Configure the dovecot IMAP server with sieve scripts support,
quota, ACL, extended logging, master user
%changelog
* 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 +277,9 @@ if [ $1 -gt 1 ] ; then
fi
fi
/usr/sbin/groupadd -g 439 sharedmailbox 2> /dev/null || :
%post
%preun