Displaying 4 results from an estimated 4 matches for "null_header_filter_callback".
2007 Oct 08
1
API problem (noob)
...emp(fname));
fd = creat(fname, 0600);
mail_get_stream(mail, NULL, NULL, &input);
output = o_stream_create_fd_file(fd, 0, TRUE);
input = i_stream_create_header_filter(input,
HEADER_FILTER_EXCLUDE | HEADER_FILTER_NO_CR,
exclude_headers, N_ELEMENTS(exclude_headers),
null_header_filter_callback, NULL);
o_stream_send_istream(output, input);
But all I get in the temp file is the message body,
i.e. no headers at all. What am I doing wrong here?
My understanding (or hope:) of what the function
i_stream_create_header_filter() is supposed to do
might not be accurate: I was hoping that it w...
2009 Apr 03
2
Implementation of editheaders in dovecot
...(count) { headers = (const char **)array_idx(headers_arr, 0); }
return i_stream_create_header_filter(stream,
HEADER_FILTER_EXCLUDE |
HEADER_FILTER_NO_CR |
HEADER_FILTER_HIDE_BODY,
headers,
count,
null_header_filter_callback,
NULL);
}
inline static struct istream *
create_header_stream(ARRAY_TYPE(const_string) * headers_arr, unsigned
int count)
{
unsigned int i = 0;
struct istream * result = NULL;
struct istream ** chunks = NULL;
const char * const * headers = NULL;
DPRINTF("Func `%s' call...
2009 Jul 05
2
Released Sieve v0.1.7 and ManageSieve v0.11.6 for Dovecot v1.2.0
Hello Dovecot users,
I hereby release new versions of the Sieve packages for the recently
released Dovecot v1.2.0 (Congrats Timo!). Apart from small changes to
make things compile with Dovecot again, a few other bugs were fixed as
well.
Unfortunately, the (FreeBSD-specific) 8kb script truncation bug remains.
Although it is reported for Dovecot v1.1.16, I see no reason why it
should not
2009 Jul 05
2
Released Sieve v0.1.7 and ManageSieve v0.11.6 for Dovecot v1.2.0
Hello Dovecot users,
I hereby release new versions of the Sieve packages for the recently
released Dovecot v1.2.0 (Congrats Timo!). Apart from small changes to
make things compile with Dovecot again, a few other bugs were fixed as
well.
Unfortunately, the (FreeBSD-specific) 8kb script truncation bug remains.
Although it is reported for Dovecot v1.1.16, I see no reason why it
should not