My system has a great big four users. The Dovecot wiki says LMTP is more efficient, and someone on IRC told me I'd need it if I were ever to use sieve, which at this time I have no intention of doing. Should I stick with LDA, or just implement LMTP so I'm ready if ever I need it in the future? The bottom line is, it's unclear from the wiki how to explicitly specify use of one or the other, so that's my question.
Im using Dovecot for LMTP for all my mail users, since this way they are completely virtual (i.e. dont need to have a local account at all), all mail gets delivered to Maildirs owned by dovecot. Also LMTP makes it easier to insert scripts and do any custom processing which presumably is where Sieve comes in. Its also pretty easy to setup.
On Thu, Jun 11, 2015 at 12:03 PM, Steve Matzura number6@noisynotes.com wrote:
My system has a great big four users. The Dovecot wiki says LMTP is more efficient, and someone on IRC told me I'd need it if I were ever to use sieve, which at this time I have no intention of doing. Should I stick with LDA, or just implement LMTP so I'm ready if ever I need it in the future? The bottom line is, it's unclear from the wiki how to explicitly specify use of one or the other, so that's my question.
-- Aj. Facebook http://www.facebook.com/ajaikhattri Enoland https://flipboard.com/@eno/enoland-be2ss0apy
On Thu, 11 Jun 2015 15:14:31 -0400, Ajai Khattri symbiat@gmail.com wrote:
Im using Dovecot for LMTP for all my mail users, since this way they are completely virtual (i.e. dont need to have a local account at all), all mail gets delivered to Maildirs owned by dovecot. Also LMTP makes it easier to insert scripts and do any custom processing which presumably is where Sieve comes in. Its also pretty easy to setup.
Sounds like that's what I should be doing. OK, so how is Dovecot told to use LMTP instead of LDA? I must not be understanding something about what's in either 15-lda.conf or 20-lmtp.conf.
On Jun 11, 2015, at 8:51 PM, Steve Matzura wrote:
On Thu, 11 Jun 2015 15:14:31 -0400, Ajai Khattri symbiat@gmail.com wrote:
Im using Dovecot for LMTP for all my mail users, since this way they are completely virtual (i.e. dont need to have a local account at all), all mail gets delivered to Maildirs owned by dovecot. Also LMTP makes it easier to insert scripts and do any custom processing which presumably is where Sieve comes in. Its also pretty easy to setup.
Sounds like that's what I should be doing. OK, so how is Dovecot told to use LMTP instead of LDA? I must not be understanding something about what's in either 15-lda.conf or 20-lmtp.conf.
You have to configure your mta to deliver to lmtp instead of lda.
Am 12.06.2015 um 05:27 schrieb Edgar Pettijohn III:
On Jun 11, 2015, at 8:51 PM, Steve Matzura wrote:
On Thu, 11 Jun 2015 15:14:31 -0400, Ajai Khattri symbiat@gmail.com wrote:
Im using Dovecot for LMTP for all my mail users, since this way they are completely virtual (i.e. dont need to have a local account at all), all mail gets delivered to Maildirs owned by dovecot. Also LMTP makes it easier to insert scripts and do any custom processing which presumably is where Sieve comes in. Its also pretty easy to setup.
Sounds like that's what I should be doing. OK, so how is Dovecot told to use LMTP instead of LDA? I must not be understanding something about what's in either 15-lda.conf or 20-lmtp.conf.
You have to configure your mta to deliver to lmtp instead of lda.
Just follow the instructions in http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP and it should just work(TM).
In case you want to use the Dovecots SASL implementation instead of Cyrus' (http://wiki2.dovecot.org/HowTo/PostfixAndDovecotSASL), I did additionally add this to my Postfix main.cf
smtp_sasl_type = dovecot lmtp_sasl_type = dovecot smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth
Greetings Daniel
On Thu, 11 Jun 2015 22:27:43 -0500, you wrote:
On Jun 11, 2015, at 8:51 PM, Steve Matzura wrote:
On Thu, 11 Jun 2015 15:14:31 -0400, Ajai Khattri symbiat@gmail.com wrote:
Im using Dovecot for LMTP for all my mail users, since this way they are completely virtual (i.e. dont need to have a local account at all), all mail gets delivered to Maildirs owned by dovecot. Also LMTP makes it easier to insert scripts and do any custom processing which presumably is where Sieve comes in. Its also pretty easy to setup.
Sounds like that's what I should be doing. OK, so how is Dovecot told to use LMTP instead of LDA? I must not be understanding something about what's in either 15-lda.conf or 20-lmtp.conf.
You have to configure your mta to deliver to lmtp instead of lda.
So this gets done in Postfix then?
On Thu, 11 Jun 2015 15:14:31 -0400, Ajai Khattri symbiat@gmail.com wrote:
Im using Dovecot for LMTP for all my mail users, since this way they are completely virtual (i.e. dont need to have a local account at all), all mail gets delivered to Maildirs owned by dovecot. Also LMTP makes it easier to insert scripts and do any custom processing which presumably is where Sieve comes in. Its also pretty easy to setup.
Sounds like that's what I should be doing. OK, so how is Dovecot told to use LMTP instead of LDA? I must not be understanding something about what's in either 15-lda.conf or 20-lmtp.conf.
You have to configure your mta to deliver to lmtp instead of lda.
So this gets done in Postfix then?
Hi, the main differences LDA can be used thru unix socket or TCP socket. TCP socket can be used for multiple smtp servers deliver to an unique dovecot server. And LMTP is easier to debug and put info in headers like this :
Received: from mx02.chunkz.net by lmtp02.chunkz.net (Dovecot) with LMTP id JoInCcG8elUUUgAAt5Imuw for bertrand.caplet@chunkz.net; Fri, 12 Jun 2015 13:04:34 +0200
This also been answered on Postfix ml see here : http://postfix.1071664.n5.nabble.com/Dovecot-LDA-vs-LMTP-td53411.html
Regards,
CHUNKZ.NET - script kiddie and computer technician Bertrand Caplet, Flers (FR) Feel free to send encrypted/signed messages Key ID: 37F70C30 GPG FP: 134A 4027 518B 5F4D D409 558D BA9B 7BF0 37F7 0C30
Hi, the main differences LDA can be used thru unix socket or TCP socket. TCP socket can be used for multiple smtp servers deliver to an unique dovecot server. Erratum: I wanted to say : "LMTP can be used thruu unix socket or TCP socket.
-- CHUNKZ.NET - script kiddie and computer technician Bertrand Caplet, Flers (FR) Feel free to send encrypted/signed messages Key ID: 37F70C30 GPG FP: 134A 4027 518B 5F4D D409 558D BA9B 7BF0 37F7 0C30
participants (5)
-
Ajai Khattri
-
Bertrand Caplet
-
Daniel Tröder
-
Edgar Pettijohn III
-
Steve Matzura