search for: cur_mail

Displaying 4 results from an estimated 4 matches for "cur_mail".

2016 Dec 27
1
Identify if a message_part is an attachment ?
...I was following dovecot via my debugger. I wanted to understand if there was a way to determine a message_part to be of an attachment type ? Thanks. -- Regards, Sai Kiran cmd_fetch() |_ imap_fetch_more() |_ imap_fetch_more_int() |_ imap_fetch_state *state = &ctx->state; state->cur_mail is NULL. search mailbox |_ mailbox_search_next(state->search_ctx, &state->cur_mail) |_ mailbox_search_next_nonblock (via vfunc) |_ index_storage_search_next_nonblock |_ search_more_with_prefetching(ctx, mail_r) |_ mail = index_search...
2007 Nov 15
1
imap process consuming 100% CPU (Dovecot 1.0.3)
...2, virtual_size = 12, lines = 0) > > (dbx) up > > imap_fetch(ctx = 0x200205e0), line 291 in "imap-fetch.c" > > (dbx) list > > 291 ret = handlers[ctx->cur_handler]. > > 292 handler(ctx, ctx->cur_mail, > > 293 handlers[ctx->cur_handler].context); > > 294 t_pop(); > > 295 > > 296 if (ret == 0) > > 297 return 0; > > 29...
2005 Aug 24
0
verbose imap logging
...-body.c dovecot-1.0.alpha1/src/imap/imap-fetch-body.c --- dovecot-1.0.alpha1.orig/src/imap/imap-fetch-body.c 2005-07-12 22:29:53.000000000 +0200 +++ dovecot-1.0.alpha1/src/imap/imap-fetch-body.c 2005-08-23 10:39:08.000000000 +0200 @@ -292,7 +292,7 @@ seek_partial(ctx->select_counter, ctx->cur_mail->uid, &partial, ctx->cur_input, body->skip); } - + ctx->client->retr_bytes+=size->virtual_size; return fetch_stream(ctx, size); } @@ -317,6 +317,7 @@ /* BODY[] - fetch everything */ message_size_add(&body_size, &hdr_size); fetch_...
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
...iff -Nur dovecot-1.2.11/src/imap/imap-fetch.c dovecot-1.2.11+lemonade/src/imap/imap-fetch.c --- dovecot-1.2.11/src/imap/imap-fetch.c 2010-01-24 17:14:17.000000000 -0600 +++ dovecot-1.2.11+lemonade/src/imap/imap-fetch.c 2010-04-08 09:59:12.000000000 -0500 @@ -449,6 +449,10 @@ break; ctx->cur_mail = ctx->mail; + /* APPLE - urlauth */ + if (ctx->urlfetch) + ctx->urlfetched = TRUE; + else /* reduce code deltas */ str_printfa(ctx->cur_str, "* %u FETCH (", ctx->cur_mail->seq); ctx->first = TRUE; @@ -504,6 +508,9 @@ ctx->line_fini...