Receiving email for virtual users in OS X Server 10.8

I receive my own email on a Mac running OS X Server 10.8, and just resolved a problem related to the creation of a second email user on that machine.

Let’s call the domain on which I receive mail on that machine, mydomain.com, which is completely different than the machine’s host name, which we’ll call, mymac.com. (The machine knows to receive email on mydomain.com since I added that domain in the Mail settings using the Server.app.)

This afternoon, I wanted to move my wife’s email to that machine as well.

Using Server.app, I created a new “services only” user, user2, and then setup her Mail.app with a new IMAP account pointing to [email protected]. That worked fine; Mail.app could login, and successfully manage IMAP folders.

The problem — The problem I ran into is that the Mac would not receive email on the address, [email protected]; it rejected all incoming messages with the error, “User unknown in virtual alias table”.

The solution — Thanks to this artice, I discovered that to setup a new mail account in OS X Server, it’s not enough to just create the user account, user2. You also have to right-click on the user name in the Users panel, and access the Advanced Options… where you’ll find an Aliases field, in which you have to enter the specific email address(es) on which you want that user to receive email. In my case, this was [email protected].

With that in place, the Mac then successfully began receiving mail.

2 thoughts on “Receiving email for virtual users in OS X Server 10.8”

  1. Do you run your own mail server because you dislike Google Apps and friends, or because you don’t trust any service (understandable in light of the recent NSA revelations)?

    And: do you run this server from your home?

    1. Hi Wim, I don’t like hosting my mail on any service that’s free, the argument being that in those situations you are the product. I do not run the server from home, but rather on a machine with a good full-time net connection. If I didn’t manage a Mac, I’d probably host with FastMail.fm, as I’ve heard good things about them.

Agree? Disagree? What do you think?

This site uses Akismet to reduce spam. Learn how your comment data is processed.