[Dovecot] Gettings mails recently moved to a folder

Pascal Volk user+dovecot at localhost.localdomain.org
Thu Nov 21 19:28:18 EET 2013


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


More information about the dovecot mailing list