autocreate.sieve doesn't work correct. temporary files

Artyom Aleksandrov mailing.list at tem4uk.ru
Fri Sep 25 18:30:51 EDT 2015


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/20150926/306e4ed4/attachment.html 


More information about the Info-cyrus mailing list