Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 am trying to setup Postfix on CentOS. I have configured it to use my Google apps account to send mails.

Lets say I have configured Postfix to use, which is a Google apps email. I can now successfully make Postfix send an email from to But when I try to send an email to, I get an error 'Recipient address rejected: User unknown in local recipient table'. i.e. I am unable to send mails to * which is the domain my Postfix is configured for.

I understand that Postfix checks local_recipient_maps and rejects if the local_recipient is not found. Now my question, what is the right setting I need to add to disable this local recipient check?

Relevant links: LOCAL_RECIPIENT_README smtpd_recipient_restrictions

share|improve this question
Postfix shouldn't be the destination for if that's a Google Apps account. What exactly are you trying to do with Postfix? – mgorven May 23 '12 at 0:57
@mgroven That just stuck me, so I changed mydestination from, its working fine now. Thanks. – superxor May 23 '12 at 19:51
up vote 1 down vote accepted

By configuring Postfix with as a destination, you are telling it that it is the final endpoint for that domain (and therefore it should try to deliver it locally). If this domain is hosted at Google Apps it should not be specified as a destination for Postfix.

share|improve this answer

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.