turnkeylinux / tracker

TurnKey Linux Tracker
https://www.turnkeylinux.org
71 stars 16 forks source link

[Docs] How to config server to minimise chance of emails being tagged as spam/junk #396

Open JedMeister opened 9 years ago

JedMeister commented 9 years ago

Chris Musty started documenting on how to do this for EC2 instances in the TurnKey docs here but it would be good to complete this and flesh it out a little more.

The EC2 use case is probably most important but it would be useful for all users if generic use cases were also covered.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

a3s7p commented 9 years ago

Should include rDNS, SPF and DKIM setup guidelines optimally.

dashohoxha commented 8 years ago

If the appliance is just sending a few notification emails to the users (and is not a dedicated mail server), then using ssmtp (with a gmail account) would be a better solution than postfix.

If users have to configure rDNS, SPF, DKIM etc. then it is not a turn-key solution anymore.

JedMeister commented 8 years ago

Perhaps, but using postfix makes it really flexible. And it means that many users who have static IPs can use it OOTB and it just works as is (no further configuration required). Its also really useful for testing (for me anyway). The email sending works OOTB for me, although I know it doesn't for everyone and AWS in particular is very hit and miss...

Postfix still lends itself to the sort of config you suggest. Ie. configuring it to send via a SMTP relay. Have a look on the docs.

Unfortunately though, none of this stops (or even reduces the chances of) it being tagged as spam... Hence why this "feature request" exists... :smile: