On Fri, 2007-09-21 at 13:03 +0200, Andrew Gaylard wrote:
> If I create a file of data:
> 
>     dd if=/dev/urandom of=random-data-512k count=1024
> 
> ... and send it to myself:
> 
>     openchangeclient --sendmail --to=myself --profile=myself
> --body="attachment size test" --attachments="/$PWD/random-data-512k" 
> 
> ... and then read it back:
> 
>     openchangeclient --profile=myself --fetchmail --storemail=atts
> 
> ... then I see this:
> 
> [EMAIL PROTECTED]:~$ ls -l random-data-512k atts/random-data-512k 
> -rw------- 1 qualica qualica 540672 2007-09-21 12:57
> atts/random-data-512k 
> -rw-r--r-- 1 qualica qualica 524288 2007-09-21 12:07 random-data-512k
> 
> Somewhere, my file has gained exactly 16,384 bytes of data at the end.
> Looking at them with xxd, they're nearly all zeros.
> 
> Is Exchange doing something weird? 
> Or is this a problem with libmapi / openchangeclient?

Interesting point. I doubt this problem comes either from Exchange or
libmapi but would rather say it is related to openchangeclient
ReadStream/WriteStream code. 

I need to do some investigations/tests, and will get back to you and
post on devel ml after some diggings.

PS: Which timezone are you in? 

-- 
Julien Kerihuel
[EMAIL PROTECTED]
OpenChange Project Manager

GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to