[Dovecot] expire plugin

Arnaud2 bali arnaud2 at bali.mailhec.com
Tue Aug 3 15:49:58 EEST 2010


Timo Sirainen wrote:
> On Tue, 2010-08-03 at 10:59 +0200, Arnaud2 bali wrote:
>   
>> connect = host=localhost user=xxxxxx password=xxxxxxxxx dbname=postfixadmin
>> map {
>>   pattern = /home/vmail/homes/$user/$mailbox
>> #shared/expire/$user/$mailbox
>>     
> ..
>   
>> Is pattern ok ?
>>     
>
> No, it always must be "shared/expire/$user/$mailbox".
>
>
>   
Hi Timo

I'have changed, but i always have nothing in the database.

An idea ?

# cat /etc/dovecot/dovecot-dict-expire.conf
connect = host=localhost user=xxxxxx password=xxxxxxx dbname=postfixadmin

map {
  pattern = shared/expire/$user/$mailbox
  table = dovecot_expires
  value_field = expire_stamp

  fields {
    username = $user
    mailbox = $mailbox
  }
}



More information about the dovecot mailing list