While you don't need to use LDA/LMTP if you read the documentation about Dovecot and the IMAP index you'll find that your dovecot instance will use more resources if you don't run it through the Dovecot delivery agent since it will have to update the index at a later time where if it comes through the delivery agent it updates it as it comes in. That said again its not vital it just depends on how busy your instance is. If you have a several thousand user instance it may be better for you if you use the delivery agent, BUT if its just one or two you may not notice the difference.
On Sat, Jun 7, 2014 at 1:25 AM, Clint Pachl <[email protected]> wrote: > And thank you Martin for asking. I had the same ideas and questions as you. > > I don't use any incoming filtering with Dovecot and my mailboxes only have > around 10k messages, so I just have OpenSMTPD setup as the MDA. > > Previously, I was using Postfix+Dovecot for years. I configured Postfix to > pass mail to Dovecot. So when I recently converted Postfix to OpenSMTPD, I > decided to put OpenSMTPD in charge. I did some testing both ways and found > no difference in function or performance, so I revoked Dovecot's MDA rights > so to speak. > > But I can understand Bryan's points below. > > > Martin Braun wrote, On 04/16/14 20:51: > > I have now (finally) a successful setup in which opensmtpd delivers >> mail to dovecot-lda and dovecot handles imap, but I tried to have >> opensmtpd deliver the mail directly into the maildir, and NOT to >> dovecot, and just have dovecot serve IMAP. >> >> Keeping them separated and using OpenSMTPDs own MDA seems much nicer. >> So OpenSMTPD can focus on its job and Dovecot only has to serve IMAP. >> >> If - for some reason - Dovecot should crash, OpenSMTPD can still deliver >> email. >> >> One guy on this list wrote: "It's better to either deliver via LMTP to >> dovecot or via dovecot's delivery binary because this will keep the >> indexes intact that dovecot >> needs to work efficiently." >> >> But I have testet Dovecots index and cache and both are kept intact >> and updated even when Dovecot doesn't handle the mail delivery. Each >> time a user checks his maildir via IMAP Dovecot scannes the directory >> and updates the index. >> >> So, currently I cannot see any reason as to why OpenSMTPD should >> deliver mail directly to Dovecot. >> >> Am I missing something? >> >> Kind regards. >> >> > > -- > You received this mail because you are subscribed to [email protected] > To unsubscribe, send a mail to: [email protected] > > -- Jason Barbier | [email protected] Pro Patria Vigilans
