How to include global sieve script for each user

Michael Menge michael.menge at zdv.uni-tuebingen.de
Tue Mar 6 11:19:46 EST 2007


Hi,

you have to tell cyrus which extensions to use with the

sieve_extensions:

in /etc/imapd.conf

Michael Menge

Quoting Ulrich Spoerlein <uspoerlein at gmail.com>:

> Hi all,
>
> I know this is a recurring topic here, but after hours of searching I
> still can't get this to work.
>
> I'm running Cyrus 2.3.7 on FreeBSD 6.2, I have added a global script
> like this:
>
> sieveshell -u cyrus -a cyrus -e "p spam.script spam" localhost
>
> Which results in the script showing up in sieve/global/spam.{bc,script}
>
> Now I want to upload a user script, consisting of the following lines
> (as per RFC)
>
> require ["include"];
> include :global "spam";
>
> Which results in an 'unsupported feature at line 1' error. I found
> posts claiming that Cyrus does not advertise the include extension,
> but works anyhow.
>
> I also tried only the line "include :global "spam";", but then I get
> "line 1: include not required".
>
> So what is the darn syntax, and why is cyrus documented so sparsely?
>
> Thanks in advance!
> Uli
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html



--------------------------------------------------------------------------------
M.Menge                                 Tel.: (49) 7071/29-70316
Universitaet Tuebingen                  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung          mail:  
michael.menge at zdv.uni-tuebingen.de
Waechterstrasse 76
72074 Tuebingen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5469 bytes
Desc: S/MIME krytographische Unterschrift
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20070306/4134342e/smime-0001.bin


More information about the Info-cyrus mailing list