Displaying 2 results from an estimated 2 matches for "mbox_save_drop_head".
2008 Sep 03
1
Stumped on adding X-Header...
Recently I posted about wanting to add an x-header recording a timestamp
for changing the \Deleted flag, for purposes of doing expiry on mbox
mailboxes. Timo replied:
> Be sure to add it to mbox_hide_headers[] and mbox_save_drop_headers[]
> arrays in mbox-storage.c and hope that it doesn't exist in any of your
> existing mails. :) Other than that there shouldn't be problems.
I looked at the two places where X-Status was being written--mbox-save.c
and mbox-sync-update.c--and tried adding this header. It didn'...
2009 Apr 13
0
How can I skip EOH in headers?
...s' MD5
sum */
filter = i_stream_create_header_filter(input,
HEADER_FILTER_EXCLUDE |
HEADER_FILTER_NO_CR |
HEADER_FILTER_ADD_MISSING_EOH,
mbox_save_drop_headers,
mbox_save_drop_headers_count,
save_header_callback,
ctx);
if ((ctx->mbox->storage->storage.flags &
MAIL_STORAGE_FLAG_KEEP_HEADER_MD5) != 0) {...