I'm trying to setup a mailserver with Postfix/Dovecot for a learning experience. (This means you do not have to discurage me!!)
Towards 2/3 of any guides they just say "we're about to enable SASL authentication now". But I don't get where SASL fits into the setup.
I've drawn the following schema to visualize what I think Email communication looks like (smtp and smtpd in the ellipses refer to the submodules of postfix):
Why is SASL required? Postfix and Dovecot already encrypt their traffic with SSL, that's also why I pointed them to a valid Let's Encrypt certificate. What is SASL needed for and why does postfix need dovecot to provide it? (Note: I do understand however why postfix would need an external SASL provider like dovecot or Cyrus, so this question is not relevant to me.)
Please also correct this image, wherever it is wrong. I know this isn't a full picture of what is going on, but it should cover sufficient concepts to be useful.
Thank you!