move acl dict file to /etc/dovecot
This commit is contained in:
parent
94d202cae6
commit
fbfdfd783d
|
@ -23,4 +23,4 @@ event_link("adjust-dovecot", "bootstrap-console-save", "02");
|
||||||
event_link("dovecot-acl", "email-update", "85");
|
event_link("dovecot-acl", "email-update", "85");
|
||||||
event_link("dovecot-acl", "user-create", "85");
|
event_link("dovecot-acl", "user-create", "85");
|
||||||
|
|
||||||
safe_touch("root/var/lib/dovecot/sharedmailbox/dict.db");
|
safe_touch("root/etc/dovecot/sharedmailbox/dict.db");
|
||||||
|
|
|
@ -50,7 +50,7 @@ namespace {
|
||||||
}
|
}
|
||||||
|
|
||||||
plugin {
|
plugin {
|
||||||
acl_shared_dict = file:/var/lib/dovecot/sharedmailbox/dict.db
|
acl_shared_dict = file:/etc/dovecot/sharedmailbox/dict.db
|
||||||
}
|
}
|
||||||
|
|
||||||
plugin {
|
plugin {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
%define version 0.1
|
%define version 0.1
|
||||||
%define release 0.beta28
|
%define release 0.beta30
|
||||||
%define name smeserver-dovecot
|
%define name smeserver-dovecot
|
||||||
|
|
||||||
|
|
||||||
|
@ -49,8 +49,8 @@ perl createlinks
|
||||||
--file /var/service/dovecot/log/run 'attr(0755,root,root)' \
|
--file /var/service/dovecot/log/run 'attr(0755,root,root)' \
|
||||||
--file /var/service/dovecot/control/1 'attr(0755,root,root)' \
|
--file /var/service/dovecot/control/1 'attr(0755,root,root)' \
|
||||||
--dir /var/log/dovecot 'attr(0750,smelog,smelog)' \
|
--dir /var/log/dovecot 'attr(0750,smelog,smelog)' \
|
||||||
--dir /var/lib/dovecot/sharedmailbox 'attr(2770,root,sharedmailbox)' \
|
--dir /etc/dovecot/sharedmailbox/ 'attr(2770,root,sharedmailbox)' \
|
||||||
--file /var/lib/dovecot/sharedmailbox/dict.db 'attr(0660,root,sharedmailbox) %config(noreplace)' \
|
--file /etc/dovecot/sharedmailbox/dict.db 'attr(0660,root,sharedmailbox) %config(noreplace)' \
|
||||||
--file /usr/bin/imap-postlogin 'attr(0755,root,root)' \
|
--file /usr/bin/imap-postlogin 'attr(0755,root,root)' \
|
||||||
> %{name}-%{version}-filelist
|
> %{name}-%{version}-filelist
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue