use INDEXPVT instead of INDEX for shared mailboxes [SME: 12150]
This commit is contained in:
parent
519a404456
commit
2bb7a3d853
@ -45,6 +45,19 @@ _EOF
|
|||||||
my $shared_mb = "\n# SharedMailbox is disabled\n";
|
my $shared_mb = "\n# SharedMailbox is disabled\n";
|
||||||
my $public_mb = "\n# PublicMailbox is disabled\n";
|
my $public_mb = "\n# PublicMailbox is disabled\n";
|
||||||
if (($dovecot{'SharedMailbox'} || 'disabled') eq 'enabled'){
|
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';
|
$shared_mb =<<'_EOF';
|
||||||
namespace {
|
namespace {
|
||||||
type = shared
|
type = shared
|
||||||
@ -56,6 +69,7 @@ namespace {
|
|||||||
}
|
}
|
||||||
_EOF
|
_EOF
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (($dovecot{'PublicMailbox'} || 'disabled') eq 'enabled'){
|
if (($dovecot{'PublicMailbox'} || 'disabled') eq 'enabled'){
|
||||||
$public_mb =<<'_EOF';
|
$public_mb =<<'_EOF';
|
||||||
namespace {
|
namespace {
|
||||||
@ -87,3 +101,4 @@ _EOF
|
|||||||
push @conf, $common, $shared_mb, $public_mb, $acl;
|
push @conf, $common, $shared_mb, $public_mb, $acl;
|
||||||
$OUT .= '';
|
$OUT .= '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
%define version 11.0.0
|
%define version 11.0.0
|
||||||
%define release 12
|
%define release 13
|
||||||
%define name smeserver-dovecot
|
%define name smeserver-dovecot
|
||||||
|
|
||||||
|
|
||||||
@ -41,6 +41,9 @@ Configure the dovecot IMAP server with sieve scripts support,
|
|||||||
quota, ACL, extended logging, master user
|
quota, ACL, extended logging, master user
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Sep 25 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-12.sme
|
||||||
- fix missing sharedmailbox group [SME: 12735]
|
- fix missing sharedmailbox group [SME: 12735]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user