Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a group called users. It has many users.

Now I want every user in this group to have their own mailbox. So, for example, if john is such a user, then john@myserver.com is an e-mail address.

How can I accomplish this?

share|improve this question

migrated from stackoverflow.com Apr 15 '11 at 2:20

This question came from our site for professional and enthusiast programmers.

    
Is users a standard /etc/group entry? –  belacqua Apr 15 '11 at 2:47
    
What mail server software are you using / would you like to use? –  Lekensteyn Apr 15 '11 at 8:45
    
Yes, users is in etc/group: users:x:100:. I'm using/like to use Postfix/Courier for this job. –  Kevin Apr 15 '11 at 11:56

1 Answer 1

In a default postfix setup every mail to $USER@$HOSTNAME will be delivered to $USER. You don't need to set that up explicitly.

For a basic postfix setup this looks like a decent howto: https://help.ubuntu.com/community/PostfixBasicSetupHowto

share|improve this answer

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.