Move shared mailbox dict to /home/e-smith/db/dovecot

sme9
Daniel Berteaud 12 years ago
parent 19d0c43c27
commit 700355d4be
  1. 2
      createlinks
  2. 2
      root/etc/e-smith/templates/etc/dovecot/dovecot.conf/65pluginAcl
  3. 4
      smeserver-dovecot.spec

@ -23,4 +23,4 @@ event_link("adjust-dovecot", "bootstrap-console-save", "02");
event_link("dovecot-acl", "email-update", "85");
event_link("dovecot-acl", "user-create", "85");
safe_touch("root/etc/dovecot/sharedmailbox/dict.db");
safe_touch("root/home/e-smith/db/dovecot/sharedmailbox.db");

@ -50,7 +50,7 @@ namespace {
}
plugin {
acl_shared_dict = file:/etc/dovecot/sharedmailbox/dict.db
acl_shared_dict = file:/home/e-smith/db/dovecot/sharedmailbox.db
}
plugin {

@ -52,8 +52,8 @@ perl createlinks
--file /var/service/dovecot/log/run 'attr(0755,root,root)' \
--file /var/service/dovecot/control/1 'attr(0755,root,root)' \
--dir /var/log/dovecot 'attr(0750,smelog,smelog)' \
--dir /etc/dovecot/sharedmailbox/ 'attr(2770,root,sharedmailbox)' \
--file /etc/dovecot/sharedmailbox/dict.db 'attr(0660,root,sharedmailbox) %config(noreplace)' \
--dir /home/e-smith/db/dovecot 'attr(2770,root,sharedmailbox)' \
--file /home/e-smith/db/dovecot/sharedmailbox.db 'attr(0660,root,sharedmailbox) %config(noreplace)' \
--file /usr/bin/imap-postlogin 'attr(0755,root,root)' \
> %{name}-%{version}-filelist

Loading…
Cancel
Save