Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I'm using postfix, and have setup spf, dkim, and domainkeys. I can get my email to go to Yahoo, but not gmail. Here's the headers from an email send to Yahoo. Yahoo reports the email as domain key verified.

X-Apparently-To:     brianegge at via; Sat, 20 Mar 2010 05:29:19 -0700
Return-Path:     <domains at>
X-YMailISG:  x7_Rl9EWLDuugoqPcORhih0FeQMOaIIpz4qfuu9ttx1xbo3uKI2kz.CLUy2cJ1BTtHAwuJtrsGRsveHIx.Dx95avNGlPPGWy_cSpnEwWLXGxBciO.YgtSQxdURQiWLCLvbHej0QPjQIHFjAFjdeGhJd2Y8NgTW1wcExq45Sb7LMlOGvtGMjSQuc8QazwXUxpZrQbIxgSQUTmzQO1x30xaZ2Us6TQTab7Wpya6OgAX.emKOM3phfS5kfhYj9FLQ.qi32sFNWnAoFdVK596OTP2F63PAJOVM5qPsM2jIAbJylIBmnj94LO7hOVr3KOS6XLtCPRn2Oe
X-Originating-IP:    []
Authentication-Results:; domainkeys=pass (ok);; dkim=pass (ok)
Received:    from (EHLO ( by with SMTP; Sat, 20 Mar 2010 05:29:19 -0700
Received:    by (Postfix, from userid 1003) id BB5B01C16A4; Sat, 20 Mar 2010 12:29:16 +0000 (UTC)
DomainKey-Signature:     a=rsa-sha1; s=2010;; c=simple; q=dns; b=JHbK9VhqyQTfpQFqaXxJrKpEG9h9H0IZ0LdWoBooJEA7hv3SYWmFUtyE247EuwoaG gzApKJ1DuRhwESZ7PswrbzuaUL8poAUO8LmMvZ+OqnDolgNSJUYWu0FcO+fe3H4m9ZD grkj0xMpHw+uFjXV4plKO+sa8olJXJAmP+9cMEo=
X-DKIM:  Sendmail DKIM Filter v2.8.2 BB5B01C16A4
DKIM-Signature:  v=1; a=rsa-sha256; c=simple/simple;; s=2010; t=1269088156; bh=bUlMldcnzFCmCmNT8qjpRl6fiY1YyjiZiC9jhCXASOw=; h=Subject:To:Message-Id:Date:From; b=EVNolTlh4Gch5/HIrrHaRQvcApl7wkB42gB44NsPcLZD2QrhuOvnhanhnEB4UbV0e A+3dAOjhX7LKzgGrn11jXNTiEjNX1vQDsX3HyG0fNra73aWiGTzr1nHJfnuEJ7Ph0j 5tp0HRL5jjikD1XJcvmsYzTpT22mxuz60HXYRB1s=
Subject:     cron
To:  <brianegge at>
X-Mailer:    mail (GNU Mailutils 1.2)
Message-Id:  <>
Date:    Sat, 20 Mar 2010 12:29:16 +0000 (UTC)
From:   This sender is DomainKeys verified (domains)  View contact details
Content-Length:  818

When I send to gmail, I see the following in my server log, but the message doesn't even reach my spam folder.

Mar 20 12:59:12 Everest postfix/pickup[27802]: C81C61C16A4: uid=1000 from=<egge>
Mar 20 12:59:12 Everest postfix/cleanup[27847]: C81C61C16A4: message-id=<>
Mar 20 12:59:13 Everest postfix/qmgr[27801]: C81C61C16A4: from=<>, size=2784, nrcpt=1 (queue active)
Mar 20 12:59:14 Everest postfix/smtp[27849]: C81C61C16A4: to=<brianegge at>,[]:25, delay=2.1, delays=0.39/0.28/0.13/1.3, dsn=2.0.0, status=sent (250 2.0.0 OK 1269089954 32si4566750iwn.51)
Mar 20 12:59:14 Everest postfix/qmgr[27801]: C81C61C16A4: removed

I've send to email to test services, and the report everything verifies ok. I've also checked all the RBL lists, and I'm not on any of them.

share|improve this question
are you absolutely sure that this message is not - eg by a rule - deleted in your gmail account? indeed at least from blacklist/spf perspective your setup looks OK. – pQd Mar 20 '10 at 19:28

I'm not sure if this is your exact problem, but I experienced something similar, and in my case I was able to solve it by setting up a Reverse DNS entry for my mail server's IP. That way a receiving SMTP server can verify that a message sent from your server's IP can be resolved to the same domain name as the "From" address in the SMTP header. (I could be wrong on some of the details.)

Google seems particularly picky about that, even if you've also set up SPF and DomainKeys.

share|improve this answer
I think I've done this already. You can see my R-DNS is, and my sending domain is I think Google recently re-tweaked their spam blocking, as I see zero in my Gmail spam folder these days. – brianegge Mar 28 '10 at 16:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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