Displaying 1 result from an estimated 1 matches for "copyret".
Did you mean:
copyrect
2011 Jan 19
1
Rewrite the mailbox copy functions works in imap but don't work in doveadm import command
...ns 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("GET STREAM COPY NOT OK...");
}
// REALLY COPY EMAIL
copyret = zbox->super.copy(ctx, mail);
}
OK, when i use the IMAP , using a client and copy a email, it's works fine.
But, when i use a doveadm import command, the part
"(zmail->super.get_stream(mail, NULL, NULL, &input) >= 0)" fails, with no
error message, only a segfault.......