On Sâm, sept. 26, 2015 at 1:30 a.m., Artyom Aleksandrov <
mailing.list@xxxxxxxxx> 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