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]

Reply via email to