[Dovecot] Expire failing with error Remote Disconnected

Jeff Grossman jeff at stikman.com
Sat Feb 14 18:13:35 EET 2009


On 2/13/2009 11:39 PM, dovecot at corwyn.net wrote:
> At 06:22 PM 2/13/2009, Timo Sirainen wrote:
>> On Fri, 2009-02-13 at 17:54 -0500, dovecot at corwyn.net wrote:
>> > When I delete that, now dovecot --exec-mail ext
>> > /usr/libexec/dovecot/expire-tool
>> > runs with no errors, no output, no anything.
>>
>> The expire database is empty, so it has nothing to do. Expire plugin
>> updates the database while messages are being saved/copied to the expire
>> mailboxes.
>
> So if I understand correctly (obviously not *sigh*) :-)
>
> I have Trash and Spam defined as expire databases, I sent a number of 
> messages, and then deleted them. They were then in Trash. I manually 
> moved a bunch of messages to Spam as well. The Spam messages were > 14 
> days old.
>
> I then reran
> dovecot --exec-mail ext  /usr/libexec/dovecot/expire-tool
>
> I still get no events in /var/log/messages, and my Spam messages from 
> Jan 22 are still there. On the bright side I do have an expire.db file 
> now with data in it, tho I can't quite figure out what makes it update.
>
> shouldn't the messages > 14 days old (the date I have set in.conf) go 
> away?
It is not based on the message date, it is based on the date those 
messages got moved into the expire folders.  You will have to wait 14 
days from the date they got moved into Spam or Trash.

Jeff


More information about the dovecot mailing list