Why are my mails sent from Postfix recognized as Spam? [duplicate]

Take this Email Server Test and it will tell you what you can do to deliver your emails cleanly.

Email Server Test

Welcome to the Email Server test page.

This page does a check of your Outgoing Email Server to see how the Email server fares with respect to some of the “best practices”.

If you are facing issues where your outgoing Emails are consistently rejected by other servers or land up in Junk Email or SPAM folders of the recipient mail box, this test can help you in identifying the problems.

Some of the technologies/RFC Compliance your Email server is tested for are:

HELO Greeting
Reverse DNS
DNSBL (RBL)
SPF
Domain Keys
SPAMAssassin Content Checks
BATV (Bounce Address Tag Validation)
Greylisting
URIBL

Testing Process

1. Send an Email to Test Email Address [email protected]
2. That email will bounce with a URL in the bounce messge.
3. Either click on the URL or Copy/paste the URL in a browser.
4. You will see report on your Email Server.

If you do find the report useful, please feel free to drop a note of appreciation. The Email server test report will be available in this page.


Check the headers of the email received by GMail and Yahoo accounts for hints as to why they are being marked as spam.

As Berkay said, it could be SPF-related; the headers should show this, e.g.

Authentication-Results: mx.google.com; spf=pass 
(google.com: domain of [email protected] designates 
xxx.xxx.xxx.xxx as permitted sender)

It doesn't sound like you're blacklisted, else other domains would have issues with your email, but DNSBL can be used to check your IP if you need to.

The article that itsadok linked to gives a good overview of things to check.


Jeff recently published a blog entry on Coding Horror called So You'd Like To Send Some Email (Through Code). This has quite a number of good tips for what you can do to make your sending email more acceptable to external services.