Hello, is the expire plugin usable to delete mails with different settings for each individual user? If i view sample config at http://wiki.dovecot.org/Plugins/Expire it looks like expire-data are related to foldernames. Is it possible to let each user "activate" the expire-plugin for different folders with different settings? Thanks, Andre
On Thu, 2009-04-23 at 08:52 +0200, Andre H?bner wrote:> is the expire plugin usable to delete mails with different settings for each > individual user? > If i view sample config at http://wiki.dovecot.org/Plugins/Expire it looks > like expire-data are related to foldernames. > Is it possible to let each user "activate" the expire-plugin for different > folders with different settings?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.. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090517/fe7472d7/attachment-0002.bin>
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