Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

My domain email can be handled by the google. by setting mx record and stuff to google.

but i would like to have my linux server to send email to the world and not treated as spam, is it possible?

share|improve this question

2 Answers 2

You could also configure postfix to relay outgoing mail through google's mail servers. I've done this with sendmail and it seems possible with postifx: http://www.darryl.cain.com.au/postfix/

share|improve this answer

You need to lookup SPF records as these allow you to specify what hosts are allowed to send mail on your behalf. In this case you need something like the following added as a TXT record on your domain:

v=spf1 include:_spf.google.com ip4:192.0.2.1 -all

Replace 192.0.2.1 with the external ip of your server.

You might also look up DKIM records, but I'm not familiar enough with GoogleMail to be able to see if they're support there or not.

share|improve this answer

Your Answer

 
discard

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.