this patch adds the above feature to fetchmail
adding an option 'days X' in fechmailrc, it checks if there are mails
older than X days on the server (imap only), if they are older, it
deletes them.
i've got only a (small) problem: it seems to delete only 1858 messages at a time
(i've got a server here with something like 4000 msgs older than 300
days, to be deleted, and it deletes only 1858 at a time, -not a
problem, indeed, maybe it's even better, not to overwhlm the imap
server- but it' not wanted, sigh....)
thanx for the program, hoping to help
let me know, obviously, if i should make the patch niecr , thanx
PaulTT
|