<<< Date Index >>>     <<< Thread Index >>>

Re: where does it search



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday, September 25 at 12:38 PM, quoth Vance Shipley:
> Something which is undocumented, as far as I can see, is that when 
> working with an IMAP mail store you can search conduct the search on 
> the server.  If you do a /~b it will have to download all the 
> messages to do the search.  If you replace '~' with '=' in your 
> search pattern (e.g. /=b foo) it will compile a search function and 
> send it to the server.  This should really make it into the manual 
> as it's very important for IMAP users.

 From the muttrc man page:

    =b STRING   messages which contain STRING in the message body. If 
                IMAP is enabled, searches for STRING on the server,
                rather than downloading each message and searching it
                locally.

(I wrote that part of the documentation.) 

~Kyle
- -- 
Captain, the most elementary and valuable statement in science, the 
beginning of wisdom is "I do not know."
                                                       -- Lt. Cmdr Data
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iEYEARECAAYFAkjbwNEACgkQBkIOoMqOI17l/ACfWFYBavTB9wcf3/msjqO3ZAW7
GMQAn1N9ZKUsbNcgkZuEjy5YlmbKvtVG
=EfBF
-----END PGP SIGNATURE-----