sieve and global/default scripts
Andrew Morgan
morgan at orst.edu
Fri Feb 6 13:19:05 EST 2015
On Fri, 6 Feb 2015, Eugene M. Zheganin wrote:
> Hi.
>
> On 06.02.2015 17:05, Niels Dettenbach wrote:
>> The sieve script is (depending from where or what it should do) in a global
>> place (or domain) - logged in as cyrus admin - - like imap/sieve/global or by
>> SIEVE shell - within the cyrus system and then INCLUDED by user scripts which
>> should use this.
> Yeah, but the manual states that "global scripts aren’t applied on
> incoming messages by default, [...]" which made me think that there can
> be a way along with the way when users link them manually. Okay, now I
> see that linking global scripts is the only way.
>
> Do I understand correctly that now, in order to create a default script
> for each already existing uses I should link the default script for them ?
At our site, when a new mailbox is created we also load a default sieve
script at the same time. Have a look at the scripts here:
http://people.oregonstate.edu/~morgan/cyrus/scripts/
Specifically, look at create_user_inbox.pl and set_user_initial_sieve.pl.
Andy
More information about the Info-cyrus
mailing list