Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

thanks

share|improve this question
add comment

3 Answers

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
add comment

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
add comment

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
add comment

Your Answer

 
discard

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.