Compile global sieve scripts in email-update event

tags/smeserver-dovecot-extras-0.1.4-1
Daniel Berteaud 8 years ago
parent fca6acab5c
commit f8749f00aa
  1. 1
      createlinks
  2. 3
      root/etc/e-smith/events/actions/dovecot-compile-sieve

@ -4,5 +4,6 @@ use esmith::Build::CreateLinks qw(:all);
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");
event_link("dovecot-compile-sieve", "email-update", "86");
safe_touch("root/etc/dovecot/sharedmailbox/dict.db"); safe_touch("root/etc/dovecot/sharedmailbox/dict.db");

@ -0,0 +1,3 @@
#!/bin/bash
/usr/bin/sievec /usr/libexec/dovecot/sieve/
Loading…
Cancel
Save