[Dovecot] LDA vs. LMTP
h.reindl at thelounge.net
Sat Jul 27 18:45:24 EEST 2013
Am 26.07.2013 17:45, schrieb Martin Burgraf:
> I'm using Dovecot together with Postfix; as I understand it, there are two ways to transfer the mail from Postfix to Dovecot.
> 1.) by using LDA with mailbox_command = /usr/libexec/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIENT"
> 2.) by using LMTP with mailbox_transport = lmtp:unix:private/dovecot-lmtp
> (currently using number 1)
> I'm interessted in the differences and the advantages/disadvantages of each of those solutions
> According to http://wiki2.dovecot.org/LDA the recommended way is to use LMTP, since it's supposed to have a better performance
> On the other hand, http://wiki2.dovecot.org/LMTP says, that LMTP is a backgound process, while LDA is only called when needed
and that is why LMTP is preferred
instead fire up a new process for each message with all the costs
you have *one* process running all the time waiting for a
message to deliver
you would no run SMTPD via xinetd and start the smtpd service
each time someone delivers a message to your server...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 263 bytes
Desc: OpenPGP digital signature
More information about the dovecot