Am Donnerstag, 21. November 2013, 17:28:18 schrieb Pascal Volk: > On 11/21/2013 11:11 AM Florian Lindner wrote: > > Hello, > > > > some spam training tools learn the same message over and over again. > > Since I want to use a daily cronjob to train messages and I do not want > > to have the same messages trained multiple times, I need to way to get > > new messages in a folder. > > > > Is there a (consolish) way to get a list of messages that were recently > > moved to a folder? dovecot does not modify mtime, according to RFC 3501. > > Does `doveadm search -u s...@xgm.de mailbox INBOX SAVEDSINCE 2013-11-21` > list the wanted messages? For more details see doveadm-search(1) and > doveadm-search-query(7).
Not really: % doveadm search -u mailingli...@xgm.de mailbox INBOX SAVEDSINCE 2013-11-21 doveadm(mailingli...@xgm.de): Error: user mailingli...@xgm.de: Initialization failed: Namespace '': Mail storage autodetection failed with home=/home/flindner/Mail/mailingli...@xgm.de doveadm(mailingli...@xgm.de): Fatal: User init failed Which seems to be another problem. IMAP and POP3 work fine, but on occasions like that dovecot fails to detect that it is a maildir. Problem may be that in my database home and mail location is identical (and there is no way to change that). Is there a way to tell dovecot that every mailbox is a maildir without modifying the database? Thanks, Florian