GMail marks messages as spam, even after implementing SPF, DKIM, DMARC

Posted December 5, 2014 3.8k views

Hi, I’m using YunoHost on my server (located in AMS3) to host an email server but even though I’ve enabled SPF, DKIM and DMARC and my IP isn’t on any blacklist, GMail (and possibly other mail providers, I haven’t tried yet) still marks the emails I send as spam. Is there anything I forgot to do, that could help?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

No, that seems fine. It’s hard to tell what could be the issue without seeing the headers of one of those emails marked as spam.

  • “`Delivered-To: <REDACTED>
    Received: by with SMTP id e1csp101916qcz;
    Thu, 4 Dec 2014 14:16:57 -0800 (PST)
    X-Received: by with SMTP id l2mr24577475wif.51.1417731416530;
    Thu, 04 Dec 2014 14:16:56 -0800 (PST)
    Received: from ( [])
    by with ESMTP id gr2si47793863wib.74.2014.
    for <REDACTED>;
    Thu, 04 Dec 2014 14:16:56 -0800 (PST)
    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; c=simple/simple;; s=mail;
    t=1417731415; bh=dACwt1xVaAhFOUEqc0oEeY1Wd7hzpkC6NZtrWzvR21E=;
    To: <REDACTED>
    Subject: A =?UTF-8?Q?u=C5=BE=20aj=20DMARC=20=3A=29?=
    X-PHP-Originating-Script: 33:rcube.php
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8;
    Content-Transfer-Encoding: 8bit
    Date: Thu, 04 Dec 2014 22:16:55 +0000
    From: =?UTF-8?Q?R=C3=B3bert_Selvek?=