Commit 42983686 authored by Kevin J. McCarthy's avatar Kevin J. McCarthy

Add SENDER to default list of IMAP headers.

This header is matched by the ~e and ~L patterns.  Those patterns
should work without the user having to know to add Sender to the list
of $imap_headers.  This was probably just an oversight.
parent b4ade8a7
Pipeline #38569325 passed with stage
in 13 minutes and 3 seconds
......@@ -687,7 +687,7 @@ static int read_headers_fetch_new (IMAP_DATA *idata, unsigned int msn_begin,
FILE *fp = NULL;
IMAP_HEADER h;
BUFFER *b;
static const char * const want_headers = "DATE FROM SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE CONTENT-DESCRIPTION IN-REPLY-TO REPLY-TO LINES LIST-POST X-LABEL";
static const char * const want_headers = "DATE FROM SENDER SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE CONTENT-DESCRIPTION IN-REPLY-TO REPLY-TO LINES LIST-POST X-LABEL";
ctx = idata->ctx;
idx = ctx->msgcount;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment