autocreate.sieve doesn't work correct. temporary files

Mai Ling mailinglists35 at gmail.com
Fri Oct 2 15:08:42 EDT 2015


Oh awesome!
I wish they add support for editable site-default sieve rules that override user
sieve rules.
This way you won't have to update all users rules when you want to make
modification to everyones' rules (usecase: spam filtering)

On Sâm, sept. 26, 2015 at 1:30 a.m., Artyom Aleksandrov <mailing.list at tem4uk.ru>
wrote:
Hello,I want to create default sieve scipt for all my users but I stuck with
strange problem that looks like the bug. Unfortunately I've never wrote on C so
it's difficult for me to find it.
When Cyrus (2.5.3 or 2.5.6) create default sieve script it doesn't put file in
sieve_dir/?/user folder. It jist creates tmp files in configdirectory with names
like this

-rw------- 1 cyrus mail 124 Sep 26 00:41 ?&?P??default.script.bc
-rw------- 1 cyrus mail 231 Sep 26 00:41 ?&?P??default.script.script
lrwxrwxrwx 1 cyrus mail 17 Sep 26 00:41 ?&?P??defaultbc -> default.script.bc

There are not checks in this stage so my syslog is clean of error.
Everything seems fine.

Sep 26 00:41:34 imapsync cyrus/imap[26117]: autocreate_sieve: Problem opening
compiled script file: default.script.bc. Compiling it
Sep 26 00:41:34 imapsync cyrus/imap[26117]: autocreate_sieve: Compiled sieve
script was successfully saved in default.script.bc
Sep 26 00:41:34 imapsync cyrus/imap[26117]: autocreate_sieve: User XXXX, default
sieve script creation succeeded


My setting:
autocreate_sieve_script: /var/spool/sieve/global/default.script
autocreate_sieve_script_compile: yes
autocreate_sieve_script_compiled: default.script.bc
sievedir: /var/spool/sieve/

Distributive: Ubuntu 14.04.3

I'll be glad for any help. )

Best regards, Artyom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20151002/24884eca/attachment.html 


More information about the Info-cyrus mailing list