Re: doveadm expunge returns error code 68

2017-09-11 Thread Aki Tuomi


On 08.09.2017 15:38, Florian Lohoff wrote:
> Hi Aki,
>
> On Wed, Sep 06, 2017 at 11:26:30AM +0300, Aki Tuomi wrote:
>> On 05.09.2017 14:39, Florian Lohoff wrote:
>>> Hi,
>>> i am running basically this from cron:
>>>
>>> /usr/bin/doveadm -v expunge -u * mailbox INBOX.Spam SENTBEFORE 90d
>>> /usr/bin/doveadm -v expunge -u * mailbox INBOX.Trash SENTBEFORE 90d
>>> /usr/bin/doveadm -v expunge -u * mailbox INBOX.Junk SENTBEFORE 90d
>>>
>>> Now i am experiencing that the first line e.g. expunging INBOX.Spam
>>> returns the error code 68. No syslog/Output whatsoever. I tried
>>> running with -vvv -D which gives me a lot of output (for all mailboxes)
>>> but still i am unable to pinpoint the problem. The later 2 commands
>>> return "0" as expected.
>>>
>>> Where does the error return code come from and what does 68 mean?
>> You probably should use -A instead of -u *.
> My problem is not that it does not process all users. The problem is
> that i dont get ANY error message except the exit code. No logging
> at all. I tried to find any define in the source-code with 68 and failed
> to find one. So i am completely clueless where the problem is.
>
> And -A returns the very same exit code - on Jessie and Stretch.
>
> Flo

Hi!

Can you try doveadm -Dv?

Aki


Re: doveadm expunge returns error code 68

2017-09-08 Thread Florian Lohoff

Hi Aki,

On Wed, Sep 06, 2017 at 11:26:30AM +0300, Aki Tuomi wrote:
> On 05.09.2017 14:39, Florian Lohoff wrote:
> > Hi,
> > i am running basically this from cron:
> >
> > /usr/bin/doveadm -v expunge -u * mailbox INBOX.Spam SENTBEFORE 90d
> > /usr/bin/doveadm -v expunge -u * mailbox INBOX.Trash SENTBEFORE 90d
> > /usr/bin/doveadm -v expunge -u * mailbox INBOX.Junk SENTBEFORE 90d
> >
> > Now i am experiencing that the first line e.g. expunging INBOX.Spam
> > returns the error code 68. No syslog/Output whatsoever. I tried
> > running with -vvv -D which gives me a lot of output (for all mailboxes)
> > but still i am unable to pinpoint the problem. The later 2 commands
> > return "0" as expected.
> >
> > Where does the error return code come from and what does 68 mean?

> You probably should use -A instead of -u *.

My problem is not that it does not process all users. The problem is
that i dont get ANY error message except the exit code. No logging
at all. I tried to find any define in the source-code with 68 and failed
to find one. So i am completely clueless where the problem is.

And -A returns the very same exit code - on Jessie and Stretch.

Flo
-- 
Florian Lohoff f...@zz.de
 UTF-8 Test: The 🐈 ran after a 🐁, but the 🐁 ran away


signature.asc
Description: Digital signature


Re: doveadm expunge returns error code 68

2017-09-06 Thread Aki Tuomi


On 05.09.2017 14:39, Florian Lohoff wrote:
> Hi,
> i am running basically this from cron:
>
> /usr/bin/doveadm -v expunge -u * mailbox INBOX.Spam SENTBEFORE 90d
> /usr/bin/doveadm -v expunge -u * mailbox INBOX.Trash SENTBEFORE 90d
> /usr/bin/doveadm -v expunge -u * mailbox INBOX.Junk SENTBEFORE 90d
>
> Now i am experiencing that the first line e.g. expunging INBOX.Spam
> returns the error code 68. No syslog/Output whatsoever. I tried
> running with -vvv -D which gives me a lot of output (for all mailboxes)
> but still i am unable to pinpoint the problem. The later 2 commands
> return "0" as expected.
>
> Where does the error return code come from and what does 68 mean?
>
> Flo
You probably should use -A instead of -u *.

Aki


doveadm expunge returns error code 68

2017-09-05 Thread Florian Lohoff

Hi,
i am running basically this from cron:

/usr/bin/doveadm -v expunge -u * mailbox INBOX.Spam SENTBEFORE 90d
/usr/bin/doveadm -v expunge -u * mailbox INBOX.Trash SENTBEFORE 90d
/usr/bin/doveadm -v expunge -u * mailbox INBOX.Junk SENTBEFORE 90d

Now i am experiencing that the first line e.g. expunging INBOX.Spam
returns the error code 68. No syslog/Output whatsoever. I tried
running with -vvv -D which gives me a lot of output (for all mailboxes)
but still i am unable to pinpoint the problem. The later 2 commands
return "0" as expected.

Where does the error return code come from and what does 68 mean?

Flo
-- 
Florian Lohoff f...@zz.de
 UTF-8 Test: The 🐈 ran after a 🐁, but the 🐁 ran away


signature.asc
Description: Digital signature