Closed salotz closed 4 years ago
If you get rid of duplicates won't the "all mail" fetch get no mail because the new-only fetch will get it all?
You can use the no-received
option so fdm doesn't add a Received header.
Or use a cache with the message ID to make fdm ignore duplicate mails.
If you get rid of duplicates won't the "all mail" fetch get no mail because the new-only fetch will get it all?
I use other clients that mark things as read and so the 'new-only' won't get those (at least it looked like this was happening, not an expert in IMAP). The "all mail" fetch is for backups so I want to make sure I get those.
You can use the no-received option so fdm doesn't add a Received header.
That works thanks. Ya the cache prolly would work but I couldn't wrap my head around it.
I'm trying to run both a task that only fetches the new mail (via cron every 15 minutes) like:
And one for all the mail every night:
The problem is that the only solution I could come up with uses separate accounts using the
new-only
option e.g.:This has the effect of giving my duplicate mail because the "Received: " header is different:
What can I do?
I'm assuming there is a more elegant way to do this but after reading the man page I couldn't find it.