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 only know enough Ubuntu to be dangerous, so I could use some advice.

I'm using Linode to host a couple of domains. Let's call them:

The server's FDQN is, and all of the mail is routed to Google Apps.

So far everything is working great. I've got Apache installed and it is responding for all three sites. works as well.

What I'm trying to do now is set up Postfix so I can have * forwarded to (Note: Open to smarter ideas, btw)

I'm running the Postfix package configuration and it is asking for my FQDN. This is where I'm stuck. Do I use I'm very fuzzy on the concept of FQDN's, especially if I'm hosting multiple domains. Any tips will be appreciated..

share|improve this question
up vote 3 down vote accepted

The best solution would be to just host all the mail domains with Google Apps. You can define alias domains under the same Google Apps account (so support@{,,} would all go to the "support" mailbox).

If you really want to use an external mail forwarder, you don't want to set either the source and destination domains as Postfix's FQDN, because it will treat it as a local destination. Your Postfix configuration should look something like this:


mydestination = localhost, localhost.localdomain
virtual_alias_domains =
virtual_alias_maps = hash:/etc/postfix/virtual


Run postmap /etc/postfix/virtual whenever this file has been modified.

share|improve this answer
Hmm.. I think I might just take your advice and use Google Apps. I forgot you can make aliases, so I won't have to pay for a business account. Thanks for the suggestion! – Anthony May 10 '12 at 3:56

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.