From: Matthias A. <mat...@gm...> - 2009-06-14 10:44:44
|
Am 09.06.2009, 13:27 Uhr, schrieb mojmir svoboda <moj...@2k...>: > hello dear developpers, > > first i'd like to appologize if there is anything wrong with this email. > > i was using classic fetchmail | procmail | mutt | ssmtp toolchain until > the evil begun to spread from the mordor realm. yes, this company > switched to mordor's exchange and mapi protocol so i found that there > is BRANCH_MAPI already in the repository. > i've compiled, installed and configured this branch, but i have few > notes and questions: Hi Mojmir, > 1. when it will be merged to trunk? As soon as I have the time to look at the code and resolved unsafe programming practices and required updates in that code (see your findings (3) and (4) below), and tested against an Exchange server (I don't have one). > 2. is there any work in progress? do you accept patches? I'm not aware that the branch is being worked on. I will accept patches - please document them so I can understand what they are trying to do. > 3. the branch seems not to compile without touching OpenMsg and GetGAL > because session argument is missing Has there been a new OpenConnect release since then? > 4. the branch contains few buffer overflows in openchange-tools.c > i can supply more info, if you want. Yes, please do. > 5. fetchmail -k works successfully, but fetchmail -K does not. > i have to find more yet. Please let me know what you find. > 6. mordor's exchange server seems to append this funny ^M to each line > in the body. is it the job of fetchmail to remove this, or some procmail > tool for example (OT: do you know how to code the rule, please?) That's not only MAPI, but some other protocols are also CRLF terminated. It's fetchmail's job to normalize line endings to whatever the destination protocol requires. MDA => LF, SMTP => CRLF, for instance. > 7. (perhaps OT) i wonder how to send back an email via mapi, but i guess > this is not really a job of fetchmail. Indeed that's not fetchmail's job, we'll have to check. Thanks for looking at the code and pointing out there are issues. BRANCH_MAPI was a Google Summer of Code project. Best regards -- Matthias Andree |