Quoting eric dan <[EMAIL PROTECTED]>: > hi, > i use mutt with getmail procmail and msmtp > anybody know how i can bind a key so that i can invoke "getmail -d" from > within mutt > that get's only onread messages. > before i had a crontab set for "/usr/bin/getmail" that worked, but kept on > getting me the same messages over. adding the "-d" made it stop working for > some reason. > also the keybining would be a nice feater than crontab > thanks. >
You can put this in your getmailrc file: [options] verbose = 1 delete = false read_all = false delete_after = 30 message_log = ~/.getmail/log delete = false (tells getmail not to delete downloaded messages) read_all = false (tells getmail to download only unseen messagers) delete_after = 30 (tells getmail to delete messages older than 30 days) This is from my .muttrc file: # set up mutt so i can run getmail at any time by pressing Shift+g # or Shift+v for verizon macro index G "!getmail\n" "Invoke getmail" macro pager G "!getmail\n" "Invoke getmail" macro index V "!getmail --rcfile verizon\n" "Invoke getmail" macro pager V "!getmail --rcfile verizon\n" "Invoke getmail" _______________________________________________ arch mailing list [email protected] http://www.archlinux.org/mailman/listinfo/arch
