How would I set up Dovecot and Postfix to use a different user database than passwd for the email accounts? I'd would like to have separate accounts for user, who can actually log in via ssh, and user who have a mail address, although those might be the same person.
Lets say I have a account A, who can connect to the server via ssh. Now I want to have an A@domain.com mail address, but with a different password than the A account for ssh. The emails should nonetheless being saved in A's home folder.
How can this be accomplished?
Until now I have a directory structure defined in /etc/skel so that each ssh Account will have the mail directory automatically included. Then I set up the mail addresses via Postfix within the virtual file and then running 'postmap'.