search for: markallread

Displaying 1 result from an estimated 1 matches for "markallread".

2009 Jan 09
3
Bash script to mark all mail read in Maildir + Dovecot
...Basically this script moves everything from all /new/ directories to /cur/ directories and appends :2,S ("Seen" info status) to the filename. It seems to work, but I'm relatively new to IMAP and Maildir. Can anyone spot any potential problems? Thanks. ----cut here--- #!/bin/bash # markallread by Andrew Oakley www.aoakley.com Public Domain 2009-01-09 # A script to mark all MAILDIR mail as read, including folders # Assumes Dovecot folder naming dot prefix eg. ~/.maildir/.foldername # Loop through ~/.maildir/.foldername/new/ directories # This also does the ~/.maildir Inbox since it match...