How to include Gmail's Feedback-ID header in DKIM signature


Feedback-ID is an additional header required by Gmail Feedback Loop to see aggregated data in Google Postmaster tools. Gmail requires it to include in DKIM-Signature. The following guide explains how it can be configured in OpenDKIM :

Edit opendkim.conf

vim /etc/opendkim.conf

Add the following line :

SignHeaders Feedback-ID

Reload openkdim :

systemctl reload opendkim.service

Reload postfix :

systemctl reload postfix.service

Send a test email with swaks to gmail :

swaks --from --to --h-Feedback-ID 123:asd:123 --server

My test mail results :

Authentication-Results:;dkim=pass header.s=key1 header.b=oY1NVInb;spf=pass ( domain of designates as permitted sender);dmarc=pass (p=REJECT sp=REJECT dis=NONE)
Date: Sun, 12 Nov 2017 11:04:42 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple;; s=key1; t=1510484682;bh=ecGWgWCJeWxJFeM0urOVWP+KOlqqvsQYKOpYUP8nk7I=;h=From:Feedback-ID:From;     b=oY1NVInbieJq4f6IWDjHVT25S5zvazNDtWuso2TYAEEa80kuh/KpR9Z2T+NxRuiV8FODtj02rXnAUD1eaGFlzaUq7+HP/2teVi2lZo4DJYxr5eePOsY2GOIFpy35VtNAmBvBL+lxdRiNDqbSwipwZDFMTja+SKk5+0eUOyqaDcg=
Subject: test Sun, 12 Nov 2017 11:04:42 +0000
Message-Id: <>
X-Mailer: swaks v20170101.0 123:asd:123This is a test mailing


  1. Very well written article. It was an awesome article to read. Read more info about Buy Smtp Server. Complete rich content and fully informative. I totally Loved it.

  2. Nice info, I am very thankful to you for sharing this important knowledge. This information is helpful for everyone. Read more info about Direct Mail Campaign Services. So please always share this kind of information. Thanks.

  3. A secure and safe internet joint with plenty of surprises and tons of games to choose from|to select from}. Jackpot City has various unbelievable games you could appreciate 토토사이트 at their on-line playing membership. Their games are reliably magnificent for the most half agreeable to play. They by and huge guarantee that they have the latest and one of the best regarding their games. We are large followers of openings since they're simply such a ton of charming to play.


Post a Comment

Popular posts from this blog

StatusDnsQueryFailed resolving domain

How to send emails over IPv4 with Postfix