Re: [Dovecot] doveadm-expunge not expunging when ran from cron

2010-10-26 Thread LEVAI Daniel
On h, okt 25, 2010 at 16:28:13 +0100, Timo Sirainen wrote: On Fri, 2010-10-22 at 08:41 +0200, LEVAI Daniel wrote: On Tue, Oct 19, 2010 at 15:49:46 +0200, LEVAI Daniel wrote: On Tue, Oct 19, 2010 at 13:46:17 +0100, Timo Sirainen wrote: [...] Weird. Does it log with attached patch that

Re: [Dovecot] doveadm-expunge not expunging when ran from cron

2010-10-25 Thread Timo Sirainen
On Fri, 2010-10-22 at 08:41 +0200, LEVAI Daniel wrote: On Tue, Oct 19, 2010 at 15:49:46 +0200, LEVAI Daniel wrote: On Tue, Oct 19, 2010 at 13:46:17 +0100, Timo Sirainen wrote: [...] Weird. Does it log with attached patch that commit was successful? [...] THanks, I'm testing this

Re: [Dovecot] doveadm-expunge not expunging when ran from cron

2010-10-22 Thread LEVAI Daniel
On Tue, Oct 19, 2010 at 15:49:46 +0200, LEVAI Daniel wrote: On Tue, Oct 19, 2010 at 13:46:17 +0100, Timo Sirainen wrote: [...] Weird. Does it log with attached patch that commit was successful? [...] THanks, I'm testing this now. Yes, it shows that the commit was successful, but the mails

[Dovecot] doveadm-expunge not expunging when ran from cron

2010-10-19 Thread LEVAI Daniel
Hi! I noticed that this command ... : for USERNAME in ${USERS};do /usr/local/bin/doveadm -Dv expunge -u ${USERNAME} mailbox sa.* SAVEDBEFORE 1d done ... does not expunge mails if ran from crontab. It shows in the Debug output what would have been done, but it doesn't really expunge

Re: [Dovecot] doveadm-expunge not expunging when ran from cron

2010-10-19 Thread Timo Sirainen
On Tue, 2010-10-19 at 10:25 +0200, LEVAI Daniel wrote: for USERNAME in ${USERS};do /usr/local/bin/doveadm -Dv expunge -u ${USERNAME} mailbox sa.* SAVEDBEFORE 1d You should put sa.* around '' just in case there exists any filenames matching sa.* ... does not expunge mails if ran from

Re: [Dovecot] doveadm-expunge not expunging when ran from cron

2010-10-19 Thread LEVAI Daniel
On Tue, Oct 19, 2010 at 13:46:17 +0100, Timo Sirainen wrote: [...] Weird. Does it log with attached patch that commit was successful? [...] THanks, I'm testing this now. Daniel -- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F