Artem Bokhan wrote:
> 
>> GLibc is not a problem.
>>   
> As I understood 2.14.x is needed to compile gmime-2.2
>> Gmime-2.2.22
>> libzdb-2.3
>>
>>   
> Yep, now dbmail (git) works. The problem was with libzdb-2.2

great.

> I will ask some more questions in this thread if you do not mind.
> 
> I tried to send message with 4mb attachment, and dbmail-lmtpd took about
> 16 cpu (3ghz pentium d) seconds to recieve it.  Also I saw a lot of
> syscalls/small reads with strace. One byte for one read? =/

That's correct. In the lmtp context, there is no prior notification of
the number of octects that need to be read from the network. So we take
it one-by-one, until we read '\r\n\.\r\n' that marks the end of the
message.

In the contect of imap-append for example the message size *is*
indicated beforehand, so we can do more efficient reads.

If you can think of, or direct me to a better approach for doing async
network reads in lmtp, please do share. I'm sure it's possible. But I
havent really dug into this yet.


-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to