Index of /phil.pennock/software/mutt-patches/

[ICO]NameLast modifiedSizeDescription

[]patch-mutt-gmailcustomsearch.v12012-05-25 17:096.2KGmail custom search IMAP extension
[PGP Signature]patch-mutt-gmailcustomsearch.v1.asc2012-05-25 17:28163PGP Signature
[]patch-mutt-ssl-tlsv12.v12012-05-25 17:082.9KTLS v1.1 and v1.2
[PGP Signature]patch-mutt-ssl-tlsv12.v1.asc2012-05-25 17:28163PGP Signature
[]patch-mutt-tlssni.v12012-05-25 17:202.6KTLS ServerNameIndication
[PGP Signature]patch-mutt-tlssni.v1.asc2012-05-25 17:28163PGP Signature

This page last updated for mutt-1.5.21.

gmailcustomsearch: GMail's IMAP X-extension for custom search
Gmail has powerful native search which does not fit the normal IMAP search model. Google have exposed this functionality over IMAP with a custom extension. This patch adds the =/ operator, to perform a server-side search using this extension.
Mnemonic: ‘=’ for server-side search, ‘/’ for the Gmail keyboard shortcut to move to the search box.
Note that to get the nearest equivalence to typing into the search box, you first need to navigate to the "[Gmail]/All Mail" folder; by default, the IMAP server-side implementation seems to add folder constraints, which is obviously correct for IMAP -- you can't return message references that don't make sense in a given context.
Issues: using ~/ will silently fail.
tlsv12: TLS negotiation for TLS v1.1 and v1.2
Unnecessary as of mutt 1.5.22 (as yet unreleased)
OpenSSL 1.0.1 introduced support for TLSv1.1 and TLSv1.2. These are not used by mutt. This patch fixes that.
Counter-intuitively, the OpenSSL folks have TLSv1_client_method() negotiate only TLSv1.0, and SSLv23_client_method() remains the only method which can negotiate different versions. This is true at least as of OpenSSL 1.0.1c (the latest release at time of writing).
tlssni: TLS Server Name Indication (SNI) support
TLS supports sending the expected server hostname during the handshake, via the SNI extension.
This can be used to select a server certificate to issue to the client, permitting virtual-hosting without requiring multiple IP addresses.
This has been tested against Exim 4.80, which optionally logs SNI and can perform vhosting.