How to setup SMTP server which mails wont be spammed by Gmail?

P

postcd

Guest
Hello, i was looking (on Google) for tutorials on how to setup quick, simple SMTP server on the Linux so i can use it to send email of my website that is hosted on different server.
Essential is for me on how to make sure receiving servers like Gmail do not mark my emails as SPAM, so it has my domain in the header. Is there any tutorial for this? i cant come up with correct google search phrasse to find any guide for this.

Update, here is quite good article: http://blog.online-domain-tools.com/2015/02/09/how-to-setup-your-own-mail-server-that-will-deliver/
 
Last edited:


Hi,

I tried searching "outgoing emails are marked as spam", and found this.

Gmail is known to mark as spam more, than it has to. For example, I have a Yahoo!Mail, and my emails are always marked as spam. Yahoo!, in turn, always marks ProtonMail messages. Have you tried other providers?
 
Hey, the two main things you need to do are generate a SPFR (Sender Policy Framework Record) and have a reverse DNS mail entry in place for your mail server (assuming you're running a mail on your own domain).

If you're on Linux and generating a SPFR is simple:

1.) Edit the DNS zone of your server (ie /var/named/data/zone.me.in)
2.) Append this:
@ 86400 IN TXT "v=spf1 a mx ~all"
3.) Restart the named service
sudo service named restart

I hope this helped, cheers!
 

Members online


Latest posts

Top