macros 1.7 KB

123456789101112131415161718192021222324252627282930
  1. # -*- madmuttrc -*-
  2. #
  3. # Madmutt configuration file
  4. # 2008, kolter <kolter@openics.org>
  5. #
  6. # This file is distributed in the hope that it will be useful,
  7. # but WITHOUT ANY WARRANTY
  8. #
  9. # Macros settings for Madmutt.
  10. #
  11. macro generic \em "<enter-command>source ~/.muttrc<enter>" "Reloading muttng's configuration"
  12. macro index,pager <f1> "<change-folder> =<enter>" "Change folder for INBOX"
  13. macro index,pager <f2> "<change-folder> =.Sent<enter>" "Change folder for Sent"
  14. macro index,pager <f3> "<change-folder> =.Draft<enter>" "Change folder for Draft"
  15. macro index,pager <f4> "<change-folder> =.Spam<enter>" "Change folder for Spam"
  16. macro index,pager <f5> "<change-folder> =.Trash<enter>" "Change folder for Trash"
  17. macro index,pager <f10> "<change-folder> =<enter>" "Change folder for INBOX"
  18. macro index,pager B "<enter-command>toggle sidebar_visible<enter>" "Toggle sidebar visibility"
  19. macro index \cx "<tag-pattern>~N<enter><tag-prefix><toggle-new><tag-prefix><clear-flag>*" "Mark all new messages as read"
  20. # spamassassin macros
  21. #macro index,pager \ch "<enter-command>unset wait_key<enter><pipe-message>sa-learn --forget<enter><pipe-message>sa-learn --ham --no-sync<enter><enter-command>set wait_key<enter>" "Set message as HAM"
  22. #macro index,pager \cs "<enter-command>unset wait_key<enter><bounce-message>spam@kaoru<enter><enter-command>set wait_key<enter><save-message>=.Spam<enter>" "Set message as SPAM"
  23. macro index,pager \eh "<enter-command>unset wait_key<enter><pipe-message>crmlearn --learnnonspam<enter><enter-command>set wait_key<enter>" "Set message as HAM via CRM114"
  24. macro index,pager \es "<enter-command>unset wait_key<enter><pipe-message>crmlearn --learnspam<enter><enter-command>set wait_key<enter><save-message>=.Spam<enter>" "Set message as SPAM via CRM114"