Cyrus 2.3 with global sieve?
cyrus at incase.de
Fri Dec 16 00:35:19 EST 2005
Ken Murchison wrote on 15/12/2005 23:43:
> Cristian Livadaru wrote:
>>hmmm that won't realz solve my "problem" or what easy way do I have to
>>create a sieve script for all users ? some automated way to do so.
> You could look at the "auto create" patch that is floating around on the
Or you could write a small script to create it. How it would have to
look like would depend on where you can fetch a list of users from and
where exactly your sieve scripts are kept, but basically, what you would
do is (based on 2.2.12):
- create your global sieve script.
- use sievec to compile it:
sievec -C /etc/imapd.conf sievescript sievescript.bc
- link sievescript.bc into that users sieve directory as defaultbc
I have "sievedir: /data/shared/cyrus/sieve" in my imapd.conf, so that
link would have to be in /data/shared/cyrus/sieve/i/incase.de/c/cyrus
for my email address used for this post. for user at do.main, it would be
for user at non-virtual.domain, it would be .../sieve/u/user/defaultbc
Make sure link and linked file are readable by your cyrus processes (so
usually by the cyrus user, possibly in a chroot)
More information about the Info-cyrus