On 03/01/2026 19:50, Ethan Merrill via dovecot wrote:
I would be interested if anybody has insight about my configuration or how to
optimize it. For my purposes, this definitely seems like good enough though.
Hopefully the question helps someone else later, there seems to be a lack of
info on this topic (at least collated together in a more helpful way). Will
probably aspire to write a guide on my setup once the server is complete and
secured.
Hi Ethan.
It sounds like in the process of getting this working you're getting a
good understanding of the mechanics of how Dovecot and Postfix work! :-)
Here are some ideas to consider as next steps:
o You've probably done this already, but if not, it would be worth
setting up SASL authentication between Postfix and Dovecot, so that
Postfix can get Dovecot to authenticate users submitting emails.
[1]https://doc.dovecot.org/2.4.2/howto/sasl/postfix.html
o You could set up Dovecot to do LMTP, and use that as your 'virtual'
transport in Postfix/SpamAssassin. The advantages of doing this is
that you no longer need to configure a custom transport ("dovecot") in
Postfix, and you can deliver an email to more than one recipient in a
single LMTP conversation (instead of launching a separate
'dovecot-lda' process for each recipient).
[2]https://doc.dovecot.org/2.4.2/howto/lmtp/postfix.html
o You could vastly simplify your Postfix configuration, by getting rid
of your 'local' transport completely, and have all emails delivered
via your 'virtual' transport. The idea here is that Postfix uses
Dovecot to authenticate users and deliver emails, so it shouldn't need
to concern itself with whether a user is a 'system' user or a
'virtual' user.
Nick.
References
Visible links
1. https://doc.dovecot.org/2.4.2/howto/sasl/postfix.html
2. https://doc.dovecot.org/2.4.2/howto/lmtp/postfix.html
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]