[Dovecot] expire tool - individual user/folder?

Andre Hübner andre.huebner at gmx.de
Mon May 25 15:38:40 EEST 2009


Hello,

> The plugin yes, but expire-tool not really. It would be possible to have
> userdb lookups return an overridden expire setting and use it instead of
> the global one, but that would require writing more code..


i have made 2 testsetups with expire-plugin (mysql,dbd)
it seems to work, in table i can find new entry for expire_stamp
But how i can make individual  settings for different users? adding 
user/folder in dovecot.conf gets ignored.
is the plan to add separat settings directly in the expire-dict? (adding 
lines in mysql-table?)

second question is much more importend. how to debug this if i get 
seg.faults when running
"dovecot  --exec-mail  ext /usr/libexec/dovecot/expire-tool  --test" ?
basically connect to mysql/dbd is working. if is expire-timestamp in future 
i get correct results.
problem occurs when a folder is expired and action is required.
how can i debug this to find real error? Common debugsettings in 
dovecot.conf seems not to work.
i did compile with --enable-debug but all i got is:

 # dovecot  --exec-mail  ext /usr/libexec/dovecot/expire-tool  --test
Warning: Growing pool 'Expire pool' with: 1024
Segmentation Fault

Thanks,
Andre 



More information about the dovecot mailing list