1. 08 Jul, 2018 1 commit
  2. 04 Jun, 2018 1 commit
    • Kevin J. McCarthy's avatar
      Add $pgp_check_gpg_decrypt_status_fd. · 8ec6d766
      Kevin J. McCarthy authored
      If set (the default) mutt performs more thorough checking of the
      $pgp_decrypt_command status output for GnuPG result codes.
      Ticket #39 revealed that GnuPG (currently) does not protect against
      messages that have been manipulated to contain an empty encryption
      packet followed by a plaintext packet.
      A huge thanks to Marcus Brinkmann for researching this issue, taking
      the time to report it to us (and the GnuPG team), and taking even more
      time to clarify exactly what needed to be checked for.   
  3. 03 May, 2018 1 commit
    • Kevin J. McCarthy's avatar
      Add echo command. · 97bc33dc
      Kevin J. McCarthy authored
      Prints messages using mutt_message().  Sets OPTFORCEREFRESH to allow
      updates in the middle of a macro.
      Calls mutt_sleep(0) to pause for $sleep_time seconds after displaying
      the message.
  4. 22 Apr, 2018 1 commit
    • Kevin J. McCarthy's avatar
      Add Error History function and config var. · 26b82202
      Kevin J. McCarthy authored
      <error-history>, by default unbound, shows a list of the recent error
      messages displayed by Mutt via mutt_message() or mutt_error().
      $error_history sets the size of the history ring.
      For now, I've decided to include mutt_message() messages too.  If this
      is too chatty, we can restrict it to mutt_error() easily in the
  5. 19 Apr, 2018 2 commits
    • Kevin J. McCarthy's avatar
    • Kevin J. McCarthy's avatar
      Add $browser_abbreviate_mailboxes. · 69959820
      Kevin J. McCarthy authored
      This allows '=' and '~' mailboxes shortcuts to be turned off in the
      browser mailbox list.
      The default $sort_browser value of "alpha" uses strcoll(3), which
      ignores some punctuation.  When using multiple accounts with
      dynamically changing values of $folder, this can lead to an
      unintuitive sorting order.  (See issue #22 for an example.)
      This problem came about because of commit 8328ce68, which enabled
      mutt_pretty_mailbox() calls for IMAP and POP mailboxes too.  The
      commit had a valid point about consistency and too-wide mailbox
      listings, so I don't really want to revert it.
      This option provides an alternative to completely enable/disable the
      shortcuts for those who run into an issue.
  6. 15 Apr, 2018 1 commit
  7. 11 Mar, 2018 1 commit
  8. 11 Jan, 2018 1 commit
    • Kevin J. McCarthy's avatar
      Create pgp and s/mime default and sign_as key vars. (see #3983) · db252e61
      Kevin J. McCarthy authored
      The $postpone_encrypt and $(pgp/smime)_self_encrypt configuration
      variables have created a somewhat messier situation for users.  Many
      of them now have to specify their keys across multiple configuration
      (Trac) Ticket #3983 had a reasonable request: "if my encrypt and
      signing keys are the same, why can't I just specify my key once in my
      The problem currently is that $smime_default_key and $pgp_sign_as are
      both used to specify signing keys, and are set by the "sign (a)s"
      security menu choice.  So we can't store encryption keys there because
      some users have separate sign-only capability keys.
      Create $pgp_default_key to store the default encryption key.  Change
      signing to use $pgp_default_key, unless overridden by $pgp_sign_as.
      The pgp "sign (a)s" will continue setting $pgp_sign_as.
      Create $smime_sign_as.  Change signing to use $smime_default_key
      unless overridden by $smime_sign_as.  Change s/mime "sign (a)s" menu
      to set $smime_sign_as instead.
      Change $postpone_encrypt and $(pgp/smime)_self_encrypt to use
      $(pgp/smime)_default_key by default.
      Mark $(pgp/smime)_self_encrypt_as deprecated.  They are now aliases
      for the $(pgp/smime)_default_key config vars.
      Change $(pgp/smime)_self_encrypt default to set.
      The intent is that most users now need only set
      $(pgp/smime)_default_key.  If they have a sign-only key, or have
      separate signing and encryption keys, they can put that in
      $(pgp/smime)_sign_as.  This also enables to default self_encrypt on
      and solve a very common request.
      Thanks to Michele Marcionelli and Vincent Lefèvre for gently pushing
      me towards a solution.
  9. 09 Jan, 2018 1 commit
  10. 08 Jan, 2018 1 commit
  11. 11 Nov, 2017 2 commits
  12. 08 Nov, 2017 1 commit
  13. 19 Aug, 2017 1 commit
  14. 23 Jul, 2017 1 commit
    • Kevin J. McCarthy's avatar
      Add $imap_poll_timeout to allow mailbox polling to time out. · 30639b18
      Kevin J. McCarthy authored
      Enable the polling flag for the NOOP in imap_check_mailbox(), the
      STATUS command in imap_buffy_check(), and the LOGOUT command.
      This is not intended to handle all blocking-IO related issues.
      However, the periodic NOOP and STATUS are the most frequent places for
      mutt to freeze up, especially after a laptop is sleep/woken.
      Since these are quick operations with little data, this is a good place
      to check if the connection is still working before hanging on a read.
  15. 03 Jul, 2017 1 commit
  16. 02 Jul, 2017 1 commit
  17. 26 Jun, 2017 2 commits
  18. 14 Jun, 2017 1 commit
    • Kevin J. McCarthy's avatar
      Enable all header fields in the compose menu to be translated. · 907b43f3
      Kevin J. McCarthy authored
      While it is suggested they need not be, for some locales it might be
      preferable to be able to localize the fields.
      For instance, fr_FR may want to change the punctuation to have a space
      in front of the colon.  ja_JP may be more comfortable with a native
      character set description of the field when using it every day.
  19. 29 May, 2017 2 commits
    • Kevin J. McCarthy's avatar
      Change $postpone_encrypt to use self-encrypt variables first. · 41050122
      Kevin J. McCarthy authored
      The concept of postpone encryption is similar to self-encrypting on
      send.  The problem is the $postpone_encrypt_as option doesn't take
      into account whether PGP or S/MIME is being used.
      Since we need to add the new options for self-encryption, modify
      $postpone_encrypt to use them by default instead, falling back to
      $postpone_encrypt_as if they are unset.  Note $postpone_encrypt_as is
      deprecated in the documentation.
    • Kevin J. McCarthy's avatar
      Add self-encrypt options for PGP and S/MIME. · 54544e6a
      Kevin J. McCarthy authored
      Add $pgp_self_encrypt, $pgp_self_encrypt_as, $smime_self_encrypt,
      $pgp_sign_as and $smime_default_key are inappropriate to use, as they
      specify signing key/certs.  In some cases, this is a different value
      than the encryption key/cert.
  20. 13 May, 2017 2 commits
  21. 09 May, 2017 2 commits
    • Kevin J. McCarthy's avatar
      Create R_PAGER_FLOW config variable flag. · 0636c24b
      Kevin J. McCarthy authored
      Use this for $header_color_partial, $markers, and $smart_wrap.  When
      these options are changed in the pager, this flag will force a
      recalculation of lineInfo.
      Remove the manual checks in OP_ENTER_COMMAND for $markers and
      $smart_wrap, and instead use the same REDRAW_FLOW processing used for
      a SigWinch.
    • Kevin J. McCarthy's avatar
      Add $header_color_partial to allow partial coloring of headers. · 89c6fd8d
      Kevin J. McCarthy authored
      When set, a regexp match will color only the matched text in the
      header.  When unset (the default), the entire header will have color
      With appropriate regexps, this allows coloring of just the header
      field name.  Of course, it can also be used to highlight arbitrary
      phrases in the headers too.
  22. 30 Apr, 2017 1 commit
  23. 01 Apr, 2017 2 commits
    • Kevin J. McCarthy's avatar
      Create R_MENU redraw option. · ee66d1d8
      Kevin J. McCarthy authored
      Previously, the R_INDEX option meant both the index as well as all
      other menus.  The removal of the OPTFORCEREDRAWINDEX option caused problems
      with redrawing other menus for options such as arrow_cursor.
      One solution would be change R_INDEX back to meaning "everything"
      except pager, but there are only a handful of options that affect
      other menus.
      Instead, create R_MENU to indicate options that affect either all
      menus or one of the other menus beside the index and pager.
    • Kevin J. McCarthy's avatar
      Change reflow_windows() to set full redraw. · 508d3ec8
      Kevin J. McCarthy authored
      A full redraw should always be set in this case.  This also enables us
      to remove redraw flags for some options.
  24. 27 Mar, 2017 1 commit
  25. 08 Mar, 2017 2 commits
    • Kevin J. McCarthy's avatar
      Move the OpenSSL partial chain support check inside configure.ac. (see #3916) · a51d6478
      Kevin J. McCarthy authored
      Instead of directly checking whether X509_V_FLAG_PARTIAL_CHAIN is
      defined everywhere, do it once inside configure.  This will allow
      better support in the future if the test needs to change.
    • Matthias Andree's avatar
      Add $ssl_verify_partial_chains option for OpenSSL. (closes #3916) · f4fbf0bb
      Matthias Andree authored
      The reworked OpenSSL certificate validation took away a "feature" of
      the previous implementation: the ability to reject a node in the chain
      and yet continue to the next node.
      If this new option is set to 'yes', enables OpenSSL's
      X509_V_FLAG_PARTIAL_CHAIN flag to reinstate the functionality and permit
      to use a non-root certificate as the trust anchor.
      This option is only available if OpenSSL offers the
      X509_V_FLAG_PARTIAL_CHAIN macro, which should be the case as of 1.0.2b
      or later.
      Code written by Kevin McCarthy and Matthias Andree.
  26. 22 Feb, 2017 1 commit
  27. 08 Feb, 2017 1 commit
  28. 29 Jan, 2017 1 commit
  29. 24 Jan, 2017 1 commit
    • David Champion's avatar
      Add subjectrx command to replace matching subjects with something else. · 0663272c
      David Champion authored
      This lets you define regular expressions-replacement pairs for subject
      display.  When a Subject: matches the regular expression, the replacement
      value will be displayed instead in the message index.  Backreferences
      are supported.
      This is especially nice for simplifying subjects that are overly wordy,
      such as mailing list posts (with [Listname] tags, etc), mail from
      ticketing systems or bug trackers, etc.  It lets you reduce clutter in
      your mutt display without altering the messages themselves.
  30. 19 Jan, 2017 1 commit
    • Kevin J. McCarthy's avatar
      Fix sidebar references to the "new count" to be "unread". (closes #3908) · 753de4f0
      Kevin J. McCarthy authored
      %N in $sidebar_format and "new"in $sidebar_sort_method actually use
      the unread message count.  Update the documentation to mention that.
      Add an "unread" method to $sidebar_sort_method, but preserve "new" for
      Change the SORT_COUNT_NEW constant to SORT_UNREAD, so the code is also
      consistent with the meaning.
      Thanks to cri for reporting the problem and suggesting where to fix it
      in the code.
  31. 27 Dec, 2016 2 commits