Displaying 1 result from an estimated 1 matches for "emexis_mail_context".
2011 Jan 19
1
Rewrite the mailbox copy functions works in imap but don't work in doveadm import command
...tatic int emexis_antispam_copy(struct mail_save_context *ctx, struct mail
*mail){
struct 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){...