Can't communicate with Google Apps email addresses

Posted September 28, 2016 2.8k views

I am having a big problem with email on my server which is running Ubuntu and VestaCP.

I can send and receive emails fine unless I try sending an email to an address which is setup on Google Apps email. I also cannot receive emails from these addresses either. I can send and receive fine to emails however, its only those domains that are setup on google apps.

The log file says this everytime:

2016-09-28 12:26:21 [] sender verify fail for <>: Unrouteable address
2016-09-28 12:26:21 [] F=<> rejected RCPT <>: Sender verify failed

any help would be greatly appreciated as I have spent all morning trying to figure it out.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
4 answers

I have solved it..

Delete any domains using external mail service like Google Apps under the “mail” tab in VestaCP or in etc/exim4/domains on server.

I have in the past, to overcome such things, just set up the server to use SMTP, and then used a Google Apps account as the SMTP server.
That solved all issues, as the mail then gets sent from Googles own more need for authenticating my server.

Here is a tutorial I used for that, but there are probably some plugins for doing the same thing. The tutorial is for AWS, but it worked just fine in my Ubuntu 14.04 droplet (and should work for 16.04)

  • thankyou I will give that a try, will that then send the mail through Google on all the domains on my server? Or does each need to be setup seperately? Do you know if there is a limit on the number of emails that can be sent daily also?

I have actually narrowed this down a little more now…

Email only does not work if I try to send from a mailbox on my server to a email that is setup on Google Apps. Likewise if I try to send an email from the Google Apps email address to my server it also will not work. All other emails working fine..

Any ideas what this could be? DNS settings?

I have now worked this out and fixed it! Hopefully if someone else having the same problem this will help them…

Simply delete the domains under the “mail” section in VestaCP that are using an external email service, or do it on the server under etc/exim4/domains