Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

Postfix seems that uses the system users to define email accounts, i'm wondering if there is an alternate method to create accounts? i want to add email users that do not belong to the system and cannot shell to the server


share|improve this question
up vote 3 down vote accepted

You need to look at virtual mailboxes. The storing and location of these is normally simple enough, but accessing them becomes the question. Where to store user authentication details, what do to about aliases etc. Sometimes people use MySQL, PostgreSQL, LDAP backends etc.

The example virtual mailbox domain in the link above gives you everything you need to know about the Postfix configuration. After that, it's about how you access those mails (webmail, IMAP, POP3 etc.)

share|improve this answer

You could also create a local user account with a non-login shell, so that you have a fairly basic place to store password and full name without allowing shell access. Some use a shell of /bin/false or the like for this. This would generally be my preference, assuming your pop/imap type server can handle such a shell (which it should).

share|improve this answer

If you want a quick fix take a look at /etc/aliases (don't forget to run newaliases if you do use this!) - it's somewhat limited and isn't intended for anything beyond a handful aliases. Anything more than that and I'd strongly suggest looking at virtual mailboxes with a backend as suggested.

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.