Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

What is the most scalable way to add new users in postfix? I don't necessarily want to create a new user in /etc/shadow just for email. I know I can use aliases but this does not solve the issue of creating an entirely new user that has email.

share|improve this question
up vote 6 down vote accepted

Youre looking to set up a postfix virtual server. This is extremely common, and if you google 'postfix virtual server' plus your distribution name, you'll likely come up with a guide.

But if you want to figure out everything yourself, the setting you want to start with is virtual_mailbox_maps.

share|improve this answer
Just found it on postfix; thanks – jersten Jan 12 '12 at 1:20

Here's a detailed tutorial to help you setup a mail server on Debian. It stores mail accounts in MySQL database, so that you don't need to create unix accounts anymore.

If you just need a no-cost mail server quickly and don't care about the technical mumbo-jumbo then this is the wrong place for you. There are ready solutions like iRedMail if you are in a hurry. iRedMail works on Red Hat Enterprise Linux, CentOS, Scientific Linux, Debian, Ubuntu, openSUSE, FreeBSD.

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.