From CLUG Wiki

Main: MessageFiltersWithMuttMailClient

  ########### exim .forward file (mbox example, only MTA==exim)
  # Exim filter
  if error_message then finish endif
  if
         $header_From: contains "clug-" or
         $header_To: contains "clug-" or
         $header_Cc: contains "clug-" then
                save Mail/clug finish
  endif

  ############ or .procmailrc file (maildir example, any MTA)
  #clug folder
  :0
  * ? formail -x"From" -x"From:" -x"To:" -x"Cc:"
         |egrep -is "clug-"
  ./.maildir/.clug/
  # my maildir
  :0
  ./.maildir/

  ########## and .muttrc things
  # clug is a folder that gets new mail
  mailboxes =clug
  # mailing list behaviour (reply, etc)
  lists clug-chat@clug.org.za
  subscribe clug.org.za
  # save mail in Mail/sent except when to known people, e.g. pcp
  set record=Mail/sent
  set save_name=yes
Retrieved from https://wiki.clug.org.za/Main/MessageFiltersWithMuttMailClient
Page last modified on July 15, 2020, at 12:03 AM