Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I'm configuring a new mail server, but have trouble with the e-mail: gmail marks it as spam. I've checked all the obvious things (SPF, DKIM, Reverse DNS, IP adress blacklisted or known spammer). OS is Debian 7 wheezy (rc-2) and MTA is exim4. Exact same message is not marker as spam from current mail server.

The gmail message is something like "looks like spam based on content" (don't have it at hand), but that is strange as the email with almost the same content goes trough if my main mta is used.

I don't know what I can check anymore, does anyone know what is going wrong?

The headers of a message are as follows:

Received: by with SMTP id c13csp30281ibb;
        Thu, 2 May 2013 13:57:59 -0700 (PDT)
X-Received: by with SMTP id y1mr24043617eef.9.1367528278598;
        Thu, 02 May 2013 13:57:58 -0700 (PDT)
Return-Path: <>
Received: from ( [])
        by with ESMTPS id g47si9932355eem.247.2013.
        for <>
        (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
        Thu, 02 May 2013 13:57:58 -0700 (PDT)
Received-SPF: pass ( domain of designates as permitted sender) client-ip=;
       spf=pass ( domain of designates as permitted sender);
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;; s=sjb;
    h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=Ccc4FRDI9WGZkTIFmUXwyCQ++Xa+9o/z/+IaeiXjS4s=;
Received: from root by with local (Exim 4.80)
    (envelope-from <>)
    id 1UY0Zi-0005Zm-5T
    for; Thu, 02 May 2013 22:57:58 +0200
Date: Thu, 2 May 2013 22:57:58 +0200
From: root <>
Subject: This is a test message
Message-ID: <>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)

I do not know what went wrong
share|improve this question

marked as duplicate by splattne May 3 '13 at 11:04

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.

Have you tried more realistic content? Short, content-free messages can often be flagged as spam because of their contents. – ceejayoz May 2 '13 at 21:39
I've tried a couple of longer messages, but same result – dtech May 3 '13 at 8:46

I suspect you are hitting an IP reputation filter. Many ISPs now use IP reputation to help determine if email is spam or not.

I see messages hit the spam folder if:

  • No Sender History
  • Poor Sender History
  • Poor IP Range

I checked your IP over at SenderScore and SenderBase and suspect the issue is related to the first problem.

Google has not seen email from your IP before, so it may be treating it as spam until they can trust your IP is not a spammer.

Also your IP could have been flagged in the past as a spam source is and is still in there.

You may need to file a removal/investigation request with Gmail.

I have a tutorial on the process here.

share|improve this answer
That is strange. So in addition to that report I should just mail a lot of my users and tell them to unmark it as spam? – dtech May 3 '13 at 9:54

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