Ive been using qmail+vpopmail+courier-imap for many years but its time to retire that server so I thought this might be an opportunity to see how I could use Postfix and Dovecot to provide the same services. Im running Dovecot 2.1.9 and Postfix 2.9.4.
I have spent a few days reading through some of the docs on the wiki (there's doesn't seem to be any large overview of Dovecot concepts or books so bear with me).
Im thinking something simple like passwd-file setup would suffice for me. I want to use completely virtual users.
Id like to store mail under /home/vmail/$domain/$user. I think Ive figured out how to do that. But how do I create the maildir?
I understand the need to have a mail directory but also a directory for things like sieve - how to specify that?
Im thinking the structure would be something like: /home/vmail/$domain/$user/mail <-- mail stored here /home/vmail/$domain/$user/ <-- sieve and other sundry store here Or should the sieve stuff also be under its own folder alongside the maildir?
Is it possible to have a separate passwd file per domain? It is possible to combine password and userdb files into one per domain? (I prefer to keep all files related to each domain in its own folder).
Also would like to configure Postfix to use dovecot-sasl and I want to use dovecot-lmtp for deliveries. Any good docs / example on those?
Later on, I think I want to integrate some kind of virus and spam filtering (amavisd and maybe dspam - anybody used those? would I configure Postfix to handle that or dovecot-lmtp?)
Im sure Ill have more questions as I get more complicated but baby steps for now.
-- Aj.