I have an OSX mail server set up on Mavericks (10.9.2 I believe). I'm trying to set up a few addresses that should do nothing but forward to external gmail addresses. For example, let's say I want [email protected] to forward to [email protected]. If I just try to specify [email protected] as the forwarding address in server.app, it doesn't work.

Oddly, internal forwarding works. For example, say I have example.com and example2.com set up on my mail server. I can successfully forward from example.com to example2.com, but not to any external domain. Any suggestions?

  • Could you explain what does not work, any errors or messages, when you hit forward what happens. Can you actually send emails to @gmail.com from the server.
    – Ruskes
    Commented Apr 15, 2014 at 19:56
  • what is your setting for outgoing mail relay?
    – Ruskes
    Commented Apr 15, 2014 at 20:30
  • I'm sorry what do you mean by "setting for outgoing mail relay"? Where can I find this? Commented Apr 16, 2014 at 16:07

1 Answer 1


In my experience this applies to Mavericks (10.9) and Yosemite (10.10) the same way that Apple says to do it for Mountain Lion.


  1. In Server.app, go to Users and select a user.
  2. Click the gear icon (or Control-click the user name) and choose "Edit Mail Options..."
  3. From the "Mail should be:" pop-up menu, select "forwarded".
  4. Enter the forwarding email address in the "to email address:" field.

Additionally or alternatively, there is also a configuration file at /etc/aliases, /etc/postfix/aliases, and/or /Library/Server/Mail/Config/postfix/aliases which can be edited (using sudo) and in the area "# Put your local aliases here." you could put the line:

user: [email protected]

If you want a copy to stay in the local mailbox of user you could use:

user: user,[email protected]

If you want copies to go to additional accounts, they are separated by commas.

some-name: user1,user2,user3

This can be used for email addresses that do not have accounts on the machine such as webmaster or postmaster.

After saving the file, one needs to run the command:

sudo newaliases

I have done this for Mavericks Server for local email addresses, recently tested it for Yosemite Server and found that it works for external address too.

Note that individual aliases can also be added for particular users in Server.app.

Also of possible use are the notes kept by "magnusviri" about managing postfix on OS X Server (3.1.2) on Mavericks 10.9.4 - there is disussion about the different locations of configuration files between /etc, /etc/postfix, and/or /Library/Server/Mail/Config/postfix/ Only one of these three locations will be being used by your setup, so editing the "wrong" files will have no effect on the system's behaviour.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .