Re: Full Headers?



On 2001-07-10 04:53 Peter Bloomfield wrote:
> On 2001.07.09 17:15 balsa@microwave.com wrote:
> > 
> > Ok, I just compiled with that patch, and selecting "All Headers"
> > under view still does NOT show all the headers.
> 
> That change fixes things only for IMAP4rev1 servers (at least for
> mine!)--perhaps you're using an older server. For IMAP4 you'd have to
> replace
>
>     snprintf (hdrreq, sizeof (hdrreq), "RFC822.HEADER.LINES (%s)",
>       want_headers);
> 
> by
> 
>     strncpy (hdrreq, "RFC822.HEADER", sizeof (hdrreq));

I kept thinking about this and come to conclusion that downloading
complete headers on IMAP mailbox scanning would be expensive. The better
solution is to parse the headers of currently browsed message. (but this
discussion becomes obsoleted by the recently implemented "view message
source" function).

Talking about IMAP over slow links, the tempting optimization would be
to remove "Received:" headers from the list of requested headers during
the scanning and use server threading (whenever available) instead. But
this would mean a major change in current threading model... Also, I
don't think mutt can take advantage now of server threading...

/Pawel
-- 
Pawel Salek (pawsa@theochem.kth.se) http://www.theochem.kth.se/~pawsa/
Theoretical Chemistry Division, KTH voice: +46 8 790-8202




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]