8

This question already has an answer here:

I have a postfix mail server for our firm. The mails sent from this server to gmail and yahoo goes in spam.

The postfix is configured on our server and it has never been used for spamming.

Everything is configured as is should. The server works fine, the headers are as they should be.

What should I do in order the messages not to go in spam?

marked as duplicate by Jenny D, mdpc, MadHatter, HBruijn Nov 24 '16 at 13:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

migrated from stackoverflow.com Apr 30 '10 at 9:36

This question came from our site for professional and enthusiast programmers.

5

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 test@allaboutspam.com
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.

1

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 abc@xyz.org.uk 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.

  • +1 as you mentioned how to check for SPF related headers. This has been the most frequent cause mail sent via my mailserver ending up in the spam folder. – dunxd Apr 30 '10 at 10:35
1

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.

1

Just to be safe, check your mx entries and check if you are blacklisted. http://www.mxtoolbox.com/

0

it can be due to the failing of SPF checks. read here to get information about SPF( Sender Policy Framework)

0

You may want to read this blog entry : "Postfix with DKIM, Domainkeys, SPf and Sender-ID" at http://www.tai.ro/2010/04/03/postfix-with-dkim-domainkeys-spf-and-sender-id/

0

This article has a great list of thing you should check. Its main points:

  1. Don't send spam
  2. Remove Your Server From Spamhaus’s Blocklists
  3. Configure Reverse DNS Lookups
  4. Format Messages Properly
  5. Create SPF Records
  6. Send All Messages From the Same Address
  7. Sign Email With DomainKeys or DKIM
  8. Use ‘Precedence: bulk’ for Bulk Emails?

Not the answer you're looking for? Browse other questions tagged or ask your own question.