Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to set up a mailserver with postfix+dovecot+roundcubemail. And I don't want virtual users. Is it possible to use Unix users and somehow just include the /etc/passwd file for authentication/login?

The background is that I have several services installed on my server and all of them use Unix user authentication. For example, owncloud. So I want all of the users to be able to access all services with one login. I know this could be solved by LDAP but I am not smart enough to set up LDAP. ;)

share|improve this question

You're looking for PAM authentication. As far as I know (i.e. after a quick internet search), there's no built-in PAM module for postfix. However, it is available through SASL.

I've never tried this (as I use LDAP), but you might find these useful resources. After skimming them, they look like it's what you want.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.