Is it works? Which version do you use?
Could you guest the reason of the problem? How I can troubleshoot it? :/var/lib/cyrus# ls -la
total 2176
-rw------- 1 cyrus mail 124 Sep 25 16:04 ??????Default.script.bc
-rw------- 1 cyrus mail 231 Sep 25 16:04 ??????Default.script.script
lrwxrwxrwx 1 cyrus mail 17 Sep 25 16:04 ??????defaultbc -> Default.script.bc
-rw------- 1 cyrus mail 124 Jul 2 12:38 ??N???Default.script.bc
-rw------- 1 cyrus mail 231 Jul 2 12:38 ??N???Default.script.script
lrwxrwxrwx 1 cyrus mail 17 Jul 2 12:38 ??N???defaultbc -> Default.script.bc
-rw------- 1 cyrus mail 124 Sep 22 15:10 0#?>??Default.script.bc
-rw------- 1 cyrus mail 231 Sep 22 15:10 0#?>??Default.script.script
lrwxrwxrwx 1 cyrus mail 17 Sep 22 15:10 0#?>??defaultbc -> Default.script.bc
total 2176
-rw------- 1 cyrus mail 124 Sep 25 16:04 ??????Default.script.bc
-rw------- 1 cyrus mail 231 Sep 25 16:04 ??????Default.script.script
lrwxrwxrwx 1 cyrus mail 17 Sep 25 16:04 ??????defaultbc -> Default.script.bc
-rw------- 1 cyrus mail 124 Jul 2 12:38 ??N???Default.script.bc
-rw------- 1 cyrus mail 231 Jul 2 12:38 ??N???Default.script.script
lrwxrwxrwx 1 cyrus mail 17 Jul 2 12:38 ??N???defaultbc -> Default.script.bc
-rw------- 1 cyrus mail 124 Sep 22 15:10 0#?>??Default.script.bc
-rw------- 1 cyrus mail 231 Sep 22 15:10 0#?>??Default.script.script
lrwxrwxrwx 1 cyrus mail 17 Sep 22 15:10 0#?>??defaultbc -> Default.script.bc
On Thu, Oct 1, 2015 at 7:55 PM, Alvin Starr <alvin@xxxxxxxxxx> wrote:
I use autocreate.
So there is at least one.
On 10/01/2015 12:18 PM, Artyom Aleksandrov wrote:
Does anybody use autocreate_sieve?
On Sat, Sep 26, 2015 at 1:30 AM, 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.scriptDistributive: Ubuntu 14.04.3
autocreate_sieve_script_compile: yes
autocreate_sieve_script_compiled: default.script.bc
sievedir: /var/spool/sieve/
I'll be glad for any help. )
Best regards, Artyom
---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
-- Alvin Starr || voice: (905)513-7688 Netvel Inc. || Cell: (416)806-0133 alvin@xxxxxxxxxx ||
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus