[Dovecot] Expire plugin with Mysql
Timo Sirainen
tss at iki.fi
Sun Jul 20 19:11:24 EEST 2008
On Tue, 2008-07-08 at 15:07 +0800, Dino Ming wrote:
> Hi Timo,
>
> I had setup the expire plugin using proxy dict method with mysql table.
>
> Whenever I run the command : dovecot --exec-mail ext
> /usr/local/libexec/dovecot/expire-tool , I saw dovecot query the table :
> Query SELECT path, timestamp FROM dict_expire ORDER BY timestamp
>
> But then, nothing happened at all. No mails being expunge from the mailbox
> Trash folder. Also, What is the purpose for the table to store username,
> path & timestamp ? Because the table is empty and no data populated.
If there are no rows in the table, then that's the reason expire-tool
doesn't do anything. IMAP should insert rows into the table when you're
copying messages to Trash.
> expire: Trash 1 Trash/* 1
I guess by Trash/* you're thinking about mailboxes thare are renamed
there by Thunderbird? That won't work currently..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080720/1f6ea23d/attachment.bin
More information about the dovecot
mailing list