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

I have an XServe running OS X 10.4 Server. Is it possible to add a new email user from a terminal (I only have SSH access normally)? Also, is it possible to add a new mail virtual host from the terminal?

Thanks for any help.

share|improve this question
up vote 0 down vote accepted

Well a google for osx server adduser gets me to this page about a script to add users to your OSX server on the command line.

This serverfault question details setting up mail virtual hosts on osx via the gui. Since OSX server runs postfix, I suspect you could set up virtual email domains by editing the postfix config as shown here with proper editing of your

share|improve this answer
script didn't work, kept saying 'missing DS reference or node', but the postfix tip helped. Thanks. – Chris Jan 20 '11 at 3:55

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.