# may show user "Message no longer in server" errors. Note that OE6 still
# breaks even with this workaround if synchronization is set to
# "Headers Only".
- # netscape-eoh:
- # Netscape 4.x breaks if message headers don't end with the empty "end of
- # headers" line. Normally all messages have this, but setting this
- # workaround makes sure that Netscape never breaks by adding the line if
- # it doesn't exist. This is done only for FETCH BODY[HEADER.FIELDS..]
- # commands. Note that RFC says this shouldn't be done.
# tb-extra-mailbox-sep:
# With mbox storage a mailbox can contain either mails or submailboxes,
# but not both. Thunderbird separates these two by forcing server to
}
i_stream_seek(ctx->cur_input, old_offset);
- if (!ctx->cur_have_eoh &&
- (ctx->client->set->parsed_workarounds & WORKAROUND_NETSCAPE_EOH) != 0) {
- /* Netscape 4.x doesn't like if end of headers line is
- missing. */
- msg_size.virtual_size += 2;
- ctx->cur_append_eoh = TRUE;
- }
-
ctx->cur_size_field = 0;
return fetch_data(ctx, body, &msg_size);
}
static const struct imap_client_workaround_list imap_client_workaround_list[] = {
{ "delay-newmail", WORKAROUND_DELAY_NEWMAIL },
{ "outlook-idle", 0 }, /* only for backwards compatibility */
- { "netscape-eoh", WORKAROUND_NETSCAPE_EOH },
{ "tb-extra-mailbox-sep", WORKAROUND_TB_EXTRA_MAILBOX_SEP },
{ NULL, 0 }
};
/* <settings checks> */
enum imap_client_workarounds {
WORKAROUND_DELAY_NEWMAIL = 0x01,
- WORKAROUND_NETSCAPE_EOH = 0x04,
WORKAROUND_TB_EXTRA_MAILBOX_SEP = 0x08
};
/* </settings checks> */