Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Google Apps Email Routing unknown accounts to Postfix - "Relay access is denied (state 14)"

Posted on 2009-07-08
2
Medium Priority
?
949 Views
Last Modified: 2013-11-30
Hello

We're an SaaS provider that uses a lot of SMTP traffic for routing customer-driven information out to our users.  The emails our application sends are not spam or unsolicited (just figured I'd say that right off the bat...)

Our previous configuration was an IMail server hosting both our corporate email and application email as ourcompany.com.  We moved our corporate emails (ourcompany.com, "staff") to Google Apps some time ago, then configured Google Apps to send unknown accounts to our IMail server.  That has been working great.  Now, we're moving our application email from our IMail server to an Ubuntu server running Postfix on a different email domain (applicationemail.net).  The account names are the same, we're just changing the domain names they're associated with.  Since our customers are use to sending to THIERNAME@ourcompany.com for years, I want to configure our current Google Apps email to send unknown addresses to the new Postfix server, but restamp the SMTP envelope with @applicationemail.net address.

I've configured it to do just that.  Now, if I send an email to an account that is not provisioned in Google Apps to an account that exists on the Postifx server, Postfix is bouncing the message back saying:  

Delivery to the following recipient failed permanently:

     ryan.kay@applicationemail.net

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 554 554 5.7.1 <ryan.kay@ourcompany.com>: Relay access denied (state 14).

I've found resources all over the place where people are reporting problems going the OTHER way... Postfix to Google Apps gives this error, but I know that this is a configuration issue with Postfix.  Postfix doesn't want anything relayed to it.  I cannot find anywhere how to allow google apps to send TO postfix.

I know that I can configure Postifx to permit IP addresses (it already is doing so), but since Google is so dynamic, I was hoping there was a way to permit their servers by domain name instead....

Any help is appreciated!
0
Comment
Question by:RyanTKay
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 30

Accepted Solution

by:
Kerem ERSOY earned 2000 total points
ID: 24809852
You need to add applicationemail.net to postfix main.cf mydestination= section.

0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24809856
Don't forget to restart the server after the change.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question