Displaying 2 results from an estimated 2 matches for "bodyfile".
Did you mean:
badfile
2012 Feb 23
1
Creating and interacting with array inside plugin
...union mailbox_module_context module_ctx;
ARRAY_DEFINE(expunge_uids, struct emexis_ids_x_uis);
};
ok, inside my expunged rewrite function i create the array like quota
does, and append it to my array.
struct emexis_ids_x_uis append_uis;
append_uis.ids = _mail->uid;
append_uis.uis_file = bodyFile;
array_append(&ebox->expunge_uids, &append_uis, 1);
But when i do a foreach in this Array, my ids is OK, but my uis_file
has tha same value every time (the value is the lasted value
inserted).
Append to UID array (156) -->
(/storage/gss/emexis/common/t/33/88/t33889eb1bccd28fd6643e...
2011 Jan 19
1
Rewrite the mailbox copy functions works in imap but don't work in doveadm import command
...mailbox *box = ctx->transaction->box;
union mailbox_module_context *zbox = EMEXIS_CONTEXT(box);
struct mail_private *_mail = (struct mail_private *)mail;
union mail_module_context *zmail = EMEXIS_MAIL_CONTEXT(_mail);
struct istream *input;
const char *headerFile;
char *bodyFile;
int fd;
int increment;
......Do some stuffs and verifications OK....
// GETTING THE FILE TO READ SOME STUFF FROM HEADER.
if (zmail->super.get_stream(mail, NULL, NULL, &input) >= 0){
i_warning("GET STREAM COPY OK...");
}else{
i_warning(&...