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. Thanks, Florian
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 spam at xgm.de mailbox INBOX SAVEDSINCE 2013-11-21` list the wanted messages? For more details see doveadm-search(1) and doveadm-search-query(7). Regards, Pascal -- The trapper recommends today: cafefeed.1332518 at localdomain.org