The follow script marks all files in a folder as read. You need to pass hostname, username and password as commandline parameters to the script and the script is hardwired to mark all files in a folder call “INBOX.spam” (Cyrus IMAP folder naming convention). 1 2 3 4 5 6 7 8 9 10 11 [...]
Posts Tagged imap
The following script will make a list of which folders exist in an IMAP account. The script requires you pass hostname, accountname and password on the commandline, but it should be quite easy to change as you like. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 #!/usr/bin/perl [...]