Linode Forum
https://forum.linode.com/

[SOLVED] Mail server blocked by client (Google Apps)
https://forum.linode.com/viewtopic.php?f=11&t=10140
Page 1 of 1

Author:  starboy [ Fri Jun 07, 2013 3:33 pm ]
Post subject:  [SOLVED] Mail server blocked by client (Google Apps)

Hi All,

Currently working on a project that has me forwarding email over some google MX records / google apps. With some primary testing emails seems to be sending out fine to my local accounts (xxx@gmail.com), issue comes into play when I go to send to 'user@projectsdomain.com'. After looking into the header information from said emails it looks to be sending from 'www-data@projectsdomain.com'. Could this cause google apps to go nuts and throw it out?

Author:  starboy [ Fri Jun 07, 2013 4:37 pm ]
Post subject:  Re: Mail server blocked by client (Google Apps)

For anyone that's ever in this same boat, problem solved.
(First make sure you /etc/hosts is configured properly IE. IP domain.com )

Then go ahead and enter these command:
sudo apt-get install ssmtp mailutils

Then configure it: sudo vim /etc/ssmtp/ssmtp.conf

root=noreply@yourdomain.com
mailhub=smtp.gmail.com:587
UseSTARTTLS=yes
UseTLS=yes
AuthUser=youremail@yourdomain.com
AuthPass=password
FromLineOverride=YES

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/