autocreate.sieve doesn't work correct. temporary files

2015-09-25 Thread Artyom Aleksandrov
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 j

Re: autocreate.sieve doesn't work correct. temporary files

2015-10-01 Thread Artyom Aleksandrov
Does anybody use autocreate_sieve? On Sat, Sep 26, 2015 at 1:30 AM, Artyom Aleksandrov 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 difficul

Re: autocreate.sieve doesn't work correct. temporary files

2015-10-01 Thread Artyom Aleksandrov
r 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.l...@tem4uk.ru> wrote: > >> Hello

Re: autocreate.sieve doesn't work correct. temporary files

2015-10-02 Thread Artyom Aleksandrov
Joi, oct. 1, 2015 at 7:18 p.m., Artyom Aleksandrov < > mailing.l...@tem4uk.ru> wrote: > > Does anybody use autocreate_sieve? > > On Sat, Sep 26, 2015 at 1:30 AM, Artyom Aleksandrov < > mailing.l...@tem4uk.ru> wrote: > >> Hello,I want to create default sieve

Re: autocreate.sieve doesn't work correct. temporary files

2015-10-05 Thread Artyom Aleksandrov
155snprintf(sieve_script_dir, MAX_FILENAME, "%s%s/%s/",sieve_dir,userletter,userid); On Thu, Oct 1, 2015 at 8:49 PM, Artyom Aleksandrov wrote: > Is it works? Which version do you use? > > Could you guest the reason of the problem? How I can troubleshoot it? > > :/var/lib/cy

Re: autocreate.sieve doesn't work correct. temporary files

2015-10-06 Thread Artyom Aleksandrov
;s > almost certainly more bugs in there, and fixing the paths might just shake > them out. I'd like to tidy this up significantly (and make some test cases > for it), but in the meantime hopefully this will get you moving forward. > > Cheers, > > ellie > > On Tue,

Re: autocreate.sieve doesn't work correct. temporary files

2015-10-07 Thread Artyom Aleksandrov
anged since it was created.) > > The rest of the autocreate_sieve() function is pretty awful too -- there's > almost certainly more bugs in there, and fixing the paths might just shake > them out. I'd like to tidy this up significantly (and make some test cases > for it), b

Re: autocreate.sieve doesn't work correct. temporary files

2015-10-08 Thread Artyom Aleksandrov
ave differently for > admins. > > > On Thu, Oct 8, 2015, at 01:04, Artyom Aleksandrov wrote: > > Hi, thank you for patch. But it does not work. (( > First I guest we need NOT here (?) > > @@ -139,7 +138,7 @@ static int autocreate_sieve(const char *userid, const > char

Re: autocreate.sieve doesn't work correct. temporary files

2015-10-14 Thread Artyom Aleksandrov
apply cleanly on any > version of 2.5, this file has barely changed since it was created.) > > The rest of the autocreate_sieve() function is pretty awful too -- there's > almost certainly more bugs in there, and fixing the paths might just shake > them out. I'd like to ti

Re: autocreate.sieve doesn't work correct. temporary files

2015-10-20 Thread Artyom Aleksandrov
es instead. It also removes a redundant syslog line, since > cyrus_mkdir() already logs all the information we need when it fails. > > Please let me know how it oes, > > ellie > > > On Thu, Oct 15, 2015, at 07:20 AM, Artyom Aleksandrov wrote: > > I'm glad to hel

Re: [POLL] Cyrus ACLs and group names

2015-11-26 Thread Artyom Aleksandrov via Info-cyrus
The same. It's little off-topic but have anybody got segmentation fault when groupname has space(s)? For example commands like sam shared.test 'group:domain users' or sam shared.test 'group:domain^users' permanently broke my database. Cyrus version 2.5.3, 2.5.6 On Wed, Nov 18, 2015, 12:05 PM

Re: Replication CRC error

2016-03-02 Thread Artyom Aleksandrov via Info-cyrus
Hi, When using the “-A” flag (sync all users) no non-user mailboxes are synced. As the man page imapd.conf(5) notes, ”... this could be considered a bug and maybe it should do those mailboxes independently.” Source: https://cyrusimap.org/imap/admin/sop/replication.html But how in this case restor