The docs say:
*protocol*s = imap *imaps*
*Protocol*s we want to be serving: imap *imaps* pop3 pop3s If you
only want to use dovecot-auth, you can set this to "none".
and.....
If you want to specify ports for each service, you will need to
configure these settings inside the *protocol* imap/pop3 { ... }
section, so you can specify different ports for IMAP/POP3. For example:
# *protocol* imap {
# listen = *:10143
# ssl_listen = *:10943
# ..
# }
So if I want to run both imap and imaps AND configure the port, do I do:
# *protocol* imap {
# listen = *:143
# ssl_listen = *:10943
# }
OR
# *protocol* imap {
# listen = *:143
# }
# *protocol* imaps {
# listen = *:993
# }