When fetchmail checks my IMAP inbox, it downloads any unread messages and removes the message 'unread' flag on the mail server.
Is there a way to have fetchmail download new messages without marking them as read?
I use procmail to automatically process new mail messages and run scripts based upon mail rules, so I want the messages downloaded, but would prefer it if the "new message" flag was preserved on messages I have not yet read in my e-mail client.
This is my .fetchmailrc file:
poll mail.domain.com protocol IMAP
user "[email protected]"
password 'password'
folder 'INBOX'
keep
ssl
mda "/usr/bin/procmail -f %F"