Re: [exim] data-phase efficiency

Pàgina inicial
Delete this message
Reply to this message
Autor: Kjetil Torgrim Homme
Data:  
A: exim-users
Assumpte: Re: [exim] data-phase efficiency
On Wed, 2005-05-18 at 09:49 +0100, Philip Hazel wrote:
> On Tue, 17 May 2005, Kjetil Torgrim Homme wrote:
> > I would worry more about the unaligned writes, but I think the proper
> > fix (though painful to implement) is to make Exim use wireformat in its
> > spool (ie. dot-stuffed and with CRLF intact)
>
> You lose one way or another. Storing in local format (as it does)
> requires conversion for SMTP receipt and delivery; storing in wire
> format would require conversion for local receipt and delivery.


I don't think mbox[1] delivery is as prevalent as it once were. at our
site all messages will do at least one SMTP and one LMTP hop, and will
never be stored in Unix format. mbox will typically be used at smaller
sites where the performance impact is negligible. it's also obviously
true that there will never be more than one final delivery, whereas SMTP
transfers can be plentiful in comparison.

(mbox is always LF, Maildir is CRLF or LF depending on implementation,
but most POP/IMAP implementations will handle a CRLF message just fine,
they will just fix up any bare LF, which will be rare. the dot-stuffing
needs to be undone before saving in Maildir, though.)
--
Kjetil T.