Hi,
yes, you can have one dovecot master file. However, my experience has been that it quickly grows to be a few hundred lines long, and splitting among different config files according to "area" is more easily maintainable.
If you set the same directive in the main config file, and in a subconfig file, AFAIK one will override the other (check dovecot documentation).
You follow the walkthrough (or parts of many walkthroughs) that meets what you want to set up
As for the tutorials themselves : I personally prefer setting up postfix-> dovecot communication via
LMTP socket. This means that dovecot puts emails into the mailbox, and Postfix doesn't touch the storage. The main advantage I see is one single place where to set the destination path.
As for auth, I like to use dovecot too, using
SASL.
So the email dalivery process looks like this :
Code:
net --SMTP--> postfix --SASL--> dovecot (user valid?)
<--SASL-- (yes/no)
--LMTP--> (mail delivery)
Sending is basically the same, leave out the LMTP part.