[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?

1 Reply

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

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct