<div dir="ltr"><div>Guys I don&#39;t understand hot it can work.<br><br>I added additional logging and found that sieve_script_dir is not defined.<br><br></div>After adding this definition the problem gone.<br><br><br>147     /* Check if autocreate_sieve_compiledscript is defined in imapd.conf */<br>148     if(!(compiled_source_script = config_getstring(IMAPOPT_AUTOCREATE_SIEVE_SCRIPT_COMPILED))) {<br>149         syslog(LOG_WARNING, &quot;autocreate_sieve: autocreate_sieve_compiledscript option is not defined. Compiling it&quot;);<br>150         do_compile = 1;<br>151     }<br>152 <br>153    char userletter[1];<br>154    userletter[0]=userid[0];<br>155    snprintf(sieve_script_dir, MAX_FILENAME, &quot;%s%s/%s/&quot;,sieve_dir,userletter,userid);<br><br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 1, 2015 at 8:49 PM, Artyom Aleksandrov <span dir="ltr">&lt;<a href="mailto:mailing.list@tem4uk.ru" target="_blank">mailing.list@tem4uk.ru</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Is it works? Which version do you use?<br><br></div>Could you guest the reason of the problem? How I can troubleshoot it? <br><br><div style="margin-left:40px">:/var/lib/cyrus# ls -la<br>total 2176<br>-rw-------  1 cyrus mail     124 Sep 25 16:04 ??????Default.script.bc<br>-rw-------  1 cyrus mail     231 Sep 25 16:04 ??????Default.script.script<br>lrwxrwxrwx  1 cyrus mail      17 Sep 25 16:04 ??????defaultbc -&gt; Default.script.bc<br>-rw-------  1 cyrus mail     124 Jul  2 12:38 ??N???Default.script.bc<br>-rw-------  1 cyrus mail     231 Jul  2 12:38 ??N???Default.script.script<br>lrwxrwxrwx  1 cyrus mail      17 Jul  2 12:38 ??N???defaultbc -&gt; Default.script.bc<br>-rw-------  1 cyrus mail     124 Sep 22 15:10 0#?&gt;??Default.script.bc<br>-rw-------  1 cyrus mail     231 Sep 22 15:10 0#?&gt;??Default.script.script<br>lrwxrwxrwx  1 cyrus mail      17 Sep 22 15:10 0#?&gt;??defaultbc -&gt; Default.script.bc<br></div> <br></div><div><div><br></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 1, 2015 at 7:55 PM, Alvin Starr <span dir="ltr">&lt;<a href="mailto:alvin@netvel.net" target="_blank">alvin@netvel.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>I use autocreate.<br>
      <br>
      So there is at least one.<div><div><br>
      <br>
      On 10/01/2015 12:18 PM, Artyom Aleksandrov wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div>
      <div dir="ltr">Does anybody use autocreate_sieve?<br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sat, Sep 26, 2015 at 1:30 AM, Artyom
          Aleksandrov <span dir="ltr">&lt;<a href="mailto:mailing.list@tem4uk.ru" target="_blank">mailing.list@tem4uk.ru</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr"><span>
                <div>
                  <div>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&#39;ve never wrote
                    on C so it&#39;s difficult for me to find it.<br>
                    When Cyrus (2.5.3 or 2.5.6) create default sieve
                    script it doesn&#39;t put file in sieve_dir/?/user
                    folder. It jist creates tmp files in configdirectory
                    with names like this<br>
                    <br>
                  </div>
                  <div style="margin-left:40px">-rw-------  1 cyrus
                    mail   124 Sep 26 00:41 ?&amp;?P??default.script.bc<br>
                    -rw-------  1 cyrus mail   231 Sep 26 00:41
                    ?&amp;?P??default.script.script<br>
                    lrwxrwxrwx  1 cyrus mail    17 Sep 26 00:41
                    ?&amp;?P??defaultbc -&gt; default.script.bc<br>
                  </div>
                  <br>
                </div>
                <div>There are not checks in this stage so my syslog is
                  clean of error.<br>
                </div>
                <div>Everything seems fine.<br>
                  <br>
                  <div style="margin-left:40px">Sep 26 00:41:34 imapsync
                    cyrus/imap[26117]: autocreate_sieve: Problem opening
                    compiled script file: default.script.bc. Compiling
                    it<br>
                    Sep 26 00:41:34 imapsync cyrus/imap[26117]:
                    autocreate_sieve: Compiled sieve script was
                    successfully saved in default.script.bc<br>
                    Sep 26 00:41:34 imapsync cyrus/imap[26117]:
                    autocreate_sieve: User XXXX, default sieve script
                    creation succeeded <br>
                  </div>
                  <br>
                  <br>
                </div>
                <div>My setting:<br>
                  <div style="margin-left:40px">autocreate_sieve_script:
                    /var/spool/sieve/global/default.script<br>
                    autocreate_sieve_script_compile: yes<br>
                    autocreate_sieve_script_compiled: default.script.bc<br>
                    sievedir: /var/spool/sieve/<br>
                    <br>
                  </div>
                  Distributive: Ubuntu 14.04.3<br>
                </div>
                <div><br>
                </div>
              </span>
              <div>I&#39;ll be glad for any help. )<br>
              </div>
              <br>
              Best regards, Artyom</div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>----
Cyrus Home Page: <a href="http://www.cyrusimap.org/" target="_blank">http://www.cyrusimap.org/</a>
List Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/" target="_blank">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a>
To Unsubscribe:
<a href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus" target="_blank">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a></pre><span><font color="#888888">
    </font></span></blockquote><span><font color="#888888">
    <br>
    <br>
    <pre cols="72">-- 
Alvin Starr                   ||   voice: <a href="tel:%28905%29513-7688" value="+19055137688" target="_blank">(905)513-7688</a>
Netvel Inc.                   ||   Cell:  <a href="tel:%28416%29806-0133" value="+14168060133" target="_blank">(416)806-0133</a>
<a href="mailto:alvin@netvel.net" target="_blank">alvin@netvel.net</a>              ||
</pre>
  </font></span></div>

<br>----<br>
Cyrus Home Page: <a href="http://www.cyrusimap.org/" rel="noreferrer" target="_blank">http://www.cyrusimap.org/</a><br>
List Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/" rel="noreferrer" target="_blank">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a><br>
To Unsubscribe:<br>
<a href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus" rel="noreferrer" target="_blank">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a><br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>