faild to rename deleted mailbox, or how conversation db sucks again

2019-03-01 Thread Michael Menge
I i have now a user request to restore a deleted mailbox. This failed with "Invalid mailbox name" in cyradm. which is wrong in the fist place, because the new name was the original name. In the Log files I found "can't rename a deleted mailbox" and I discovered this in the source :-(

Re: Sieve script not working

2019-03-01 Thread Andrea Venturoli
On 3/1/19 3:18 PM, Willem Offermans wrote: Dear Andrea and Cyrus friends, That is exactly the point: it was not ``stupid`` in any way. It was ignorance, which we can only avoid by improving the documentation. I blame myself for this; I'll be glad if the documentation was improved, obviously.

Re: Sieve script not working

2019-03-01 Thread Willem Offermans
Dear Andrea and Cyrus friends, That is exactly the point: it was not ``stupid`` in any way. It was ignorance, which we can only avoid by improving the documentation. By the way, the debug/logging question is still not answered. Debugging/logging might also enlighten the user/administrator. Wi

Re: Sieve script not working

2019-03-01 Thread Andrea Venturoli
On 3/1/19 12:31 PM, Michael Menge wrote: is the script activated? Uh, no! a user can have multiple scripts stored on the server but only one can be activated at the same time. On the filesystem there should be a "defaultbc"  which is a soft link to the active bc file. There was no such

Re: Sieve script not working

2019-03-01 Thread Michael Menge
Hi Quoting Willem Offermans : Dear Michael and Cyrus friends, Where is this documented? I cannot find anything about this in https://www.cyrusimap.org/imap/reference/admin/sieve.html The example shown in section "Testing the

Re: Sieve script not working

2019-03-01 Thread Willem Offermans
Dear Michael and Cyrus friends, Where is this documented? I cannot find anything about this in https://www.cyrusimap.org/imap/reference/admin/sieve.html How should a user/administrator know? Pay attention to https://www.cyrusimap.or

Re: Sieve script not working

2019-03-01 Thread Michael Menge
Hi Quoting Andrea Venturoli : On 3/1/19 12:04 PM, Willem Offermans wrote: (big snip on the rest) $ man timsieved TIMSIEVED(8)  TIMSIEVED(8) Just to make sure I've clarified this: the script *is* there. ls /var/imap/sieve/u/user1 user1

Re: Sieve script not working

2019-03-01 Thread Andrea Venturoli
On 3/1/19 12:04 PM, Willem Offermans wrote: > (big snip on the rest) $ man timsieved TIMSIEVED(8)  TIMSIEVED(8) Just to make sure I've clarified this: the script *is* there. ls /var/imap/sieve/u/user1 user1.sieve.bc user1.sieve.script

Re: Sieve script not working

2019-03-01 Thread Willem Offermans
Dear Andrea and Cyrus friends, I remember from a long time ago, that documentation with respect to sieve was sparse. It took me quite some time to set things up and to handle sieve back then. But even now I wouldn’t know how to debug the sieve process. Most of the things in the background of th

Re: Sieve script not working

2019-03-01 Thread Andrea Venturoli
On 3/1/19 11:01 AM, Merlin Hartley wrote: Is this a shared mailbox? No. Have you actually compiled the script or just put the plain text there? Did you install the file by hand or use something like timsieved? I install the scripts via sieveshell. You haven’t really given us much to

Re: Sieve script not working

2019-03-01 Thread Merlin Hartley
Is this a shared mailbox? Have you actually compiled the script or just put the plain text there? Did you install the file by hand or use something like timsieved? You haven’t really given us much to go on… Merlin -- Merlin Hartley Computer Officer MRC Mitochondrial Biology Unit University of

Re: Sieve script not working

2019-03-01 Thread Andrea Venturoli
On 2/6/19 6:43 PM, Bron Gondwana wrote: Yeah, it's just called test.c in the sieve directory. Here's our buildscript code: ... I'm giving up on this: I cannot get to build this test binary; besides, I'm *sure* the script is correct, since it works for other 2 mailboxes. Thanks for your hel