Title: DKIM headers not generated
Last modified: February 4, 2021

---

# DKIM headers not generated

 *  [ignasigarcia](https://wordpress.org/support/users/ignasigarcia/)
 * (@ignasigarcia)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/dkim-headers-not-generated/)
 * Hi there and thanks for such a nice plugin.
 * We run a network of WP sites, with a set of fine of mail servers. Our mail servers
   use SPF, DKIM and DMARC, among other features, to prevent mail spoofing and ensure
   deliverability. I noticed that, when using this plugin, DKIM default header is
   not generated. The lack of the DKIM header makes services such as Hotmail believe
   the message belongs to the Junk folder. Moreover, the lack of DKIM along with
   sites that enforce DMARC policies make these rites reject all mail.
 * Can anybody help me out with this? I’m including below 2 mails sources, one sent
   using the test feature at Easy WP SMTP, the other using our regular webmail program.
   Both SMTP settings are exactly the same, authenticated user is the same.
 * TIA
 * From Easy WP SMTP:
 *     ```
       Return-Path: <SRS1=lTdj=cibernetik.net==H5yv=HF=cibernetik.com=testuser@externaldomain.com>
       Delivered-To: testuser@externaldomain.com
       Received: from localhost (localhost [127.0.0.1])
       	by s0.externaldomain.com (Postfix) with ESMTP id 9023033C1747
       	for <testuser@externaldomain.com>; Wed,  3 Feb 2021 21:43:56 +0000 (UTC)
       X-Virus-Scanned: Debian amavisd-new at s0.externaldomain.com
       Received: from s0.externaldomain.com ([127.0.0.1])
       	by localhost (s0.externaldomain.com [127.0.0.1]) (amavisd-new, port 10024)
       	with ESMTP id 9fRMf1eMr9Dp for <testuser@externaldomain.com>;
       	Wed,  3 Feb 2021 21:43:55 +0000 (UTC)
       Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=135.125.41.51; helo=s0.cibernetik.net; envelope-from=srs0=h5yv=hf=cibernetik.com=testuser@cibernetik.net; receiver=<UNKNOWN> 
       Received: from s0.cibernetik.net (s0.cibernetik.net [135.125.41.51])
       	by s0.externaldomain.com (Postfix) with ESMTPS id 828BD33C173B
       	for <testuser@externaldomain.com>; Wed,  3 Feb 2021 21:43:55 +0000 (UTC)
       Received: from sites.cibernetik.net (s0.cibernetik.net [IPv6:2001:41d0:1004:b5f::])
       	(Authenticated sender: testuser@cibernetik.com)
       	by s0.cibernetik.net (Postfix) with ESMTPSA id C77B6CF00068
       	for <testuser@externaldomain.com>; Wed,  3 Feb 2021 21:43:49 +0000 (UTC)
       Date: Wed, 3 Feb 2021 21:43:49 +0000
       To: testuser@externaldomain.com
       From: Info Cibernetik <testuser@cibernetik.com>
       Subject: Test
       Message-ID: <QWKrbMUQSGIZ775qehmQDW8YQLA0PbB18ofR0BD6Uwo@sites.cibernetik.net>
       X-Mailer: PHPMailer 6.2.0 (https://github.com/PHPMailer/PHPMailer)
       MIME-Version: 1.0
       Content-Type: text/plain; charset=UTF-8
       Authentication-Results: s0.cibernetik.net;
       	auth=pass smtp.auth=testuser@cibernetik.com smtp.mailfrom=testuser@cibernetik.com
       ```
   
 * From my webmail system:
 *     ```
       Return-Path: <SRS1=lTdj=cibernetik.net==H5yv=HF=cibernetik.com=testuser@testdomain.com>
       Delivered-To: testuser@testdomain.com
       Received: from localhost (localhost [127.0.0.1])
       	by s0.oenus.com (Postfix) with ESMTP id 6884233C1747
       	for <testuser@testdomain.com>; Wed,  3 Feb 2021 21:45:37 +0000 (UTC)
       X-Virus-Scanned: Debian amavisd-new at s0.oenus.com
       Authentication-Results: s0.oenus.com (amavisd-new); dkim=pass (2048-bit key)
       	header.d=cibernetik.com
       Received: from s0.oenus.com ([127.0.0.1])
       	by localhost (s0.oenus.com [127.0.0.1]) (amavisd-new, port 10024)
       	with ESMTP id VHr11h6AYFEz for <testuser@testdomain.com>;
       	Wed,  3 Feb 2021 21:45:36 +0000 (UTC)
       Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=135.125.41.51; helo=s0.cibernetik.net; envelope-from=srs0=h5yv=hf=cibernetik.com=testuser@cibernetik.net; receiver=<UNKNOWN> 
       Received: from s0.cibernetik.net (s0.cibernetik.net [135.125.41.51])
       	by s0.oenus.com (Postfix) with ESMTPS id E016B33C173B
       	for <testuser@testdomain.com>; Wed,  3 Feb 2021 21:45:36 +0000 (UTC)
       Received: from cibernetik.net (localhost [IPv6:::1])
       	(Authenticated sender: testuser@cibernetik.com)
       	by s0.cibernetik.net (Postfix) with ESMTPSA id 80429CF00068
       	for <testuser@testdomain.com>; Wed,  3 Feb 2021 21:45:36 +0000 (UTC)
       DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cibernetik.com;
       	s=default; t=1612388736;
       	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
       	 to:to:cc:mime-version:mime-version:content-type:content-type;
       	bh=H6J36BzQ+5Q9NYgNUG3JRfqGsoQb9x92AOWZ7kXn6OI=;
       	b=GLE7UZ5kp+hb/gPwHgn7Ka2XDLNoH9XlBIFfmjRJQwqh3Rbb2pNZbVkdbMB0WgQBGbi6m5
       	NvfG0V9N8KZa583LFVhXvQNlmYHyfZrIu4ySSDmbMjFcSE4z61g6PWuhSDicalaUA1JqiM
       	uOUGPXqh8EOV7xAZLZ+m2UDHVFmFndFYiiVDKcb7I0oBWfFl6JLpu15YtzCRkpW8xV17/W
       	FN8PW4G6J5GMC3nICHIFmCkyRaief9U/iPmTHlFJdKK13e0Zw6iTEPtBwLhNFShyM9MZH8
       	20J/j6RQm/ZAIiHEWbShD8UA3Ncv99ctjFNxCAFcRZQuuG9xl+Y9HNd2pVyGfg==
       MIME-Version: 1.0
       Date: Wed, 03 Feb 2021 22:45:36 +0100
       From: =?UTF-8?Q?Ignacio_Garc=C3=ADa?= <testuser@cibernetik.com>
       To: testuser@testdomain.com
       Subject: test
       User-Agent: Roundcube Webmail/1.4.9
       Message-ID: <c2437ce69d84ce17423c8c79e1d5207b@cibernetik.com>
       X-Sender: testuser@cibernetik.com
       Organization: Cibernetik
       Content-Type: multipart/alternative;
        boundary="=_8c44e0db0c12d57677ca86d008ae515d"
   
       --=_8c44e0db0c12d57677ca86d008ae515d
       Content-Transfer-Encoding: 7bit
       Content-Type: text/plain; charset=US-ASCII;
        format=flowed
   
       hola
       --=_8c44e0db0c12d57677ca86d008ae515d
       Content-Transfer-Encoding: quoted-printable
       Content-Type: text/html; charset=UTF-8
   
       <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
       =3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen=
       eva,sans-serif'>
       <p>hola</p>
   
       </body></html>
   
       --=_8c44e0db0c12d57677ca86d008ae515d--
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/dkim-headers-not-generated/#post-14002642)
 * Hi, can you confirm the settings in the plugin are correct? Also you might like
   to enable debug mode and then check the log file after you carried out a test.
 * Thank you
 *  Thread Starter [ignasigarcia](https://wordpress.org/support/users/ignasigarcia/)
 * (@ignasigarcia)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/dkim-headers-not-generated/#post-14003686)
 * Hi there and thanks for your reply
 * Yes, I can confirm settings are correct. Email address is declared, Name is also
   declared, SMTP server is correctly declared ( mail.cibernetik.net) , as well 
   as STARTTLS with port 587 (SSL and port 465 was also tested, test messages sent).
   SMTP user declared (same as email address) and password too. Sending test messages
   arrive without DKIM header as stated in my first post
 * Enabled debugging, but: Easy WP SMTP debug log file
 * Testing email registry:
 * CLIENT -> SERVER: EHLO sites.cibernetik.net
    CLIENT -> SERVER: STARTTLS CLIENT-
   > SERVER: EHLO sites.cibernetik.net CLIENT -> SERVER: AUTH LOGIN CLIENT -> SERVER:[
   credentials hidden]CLIENT -> SERVER: [credentials hidden]CLIENT -> SERVER: MAIL
   FROM:<igp@cibernetik.com> CLIENT -> SERVER: RCPT TO:<igp@oenus.com> CLIENT ->
   SERVER: DATA CLIENT -> SERVER: Date: Thu, 4 Feb 2021 15:27:43 +0000 CLIENT ->
   SERVER: To: [igp@oenus.com](https://wordpress.org/support/topic/dkim-headers-not-generated/igp@oenus.com?output_format=md)
   CLIENT -> SERVER: From: Cibernetik <igp@cibernetik.com> CLIENT -> SERVER: Subject:
   Test CLIENT -> SERVER: Message-ID: <OFQCO7p8GQh6pgkGJ9dmQUPuUyQEY304Vg72unupYyo@sites.
   cibernetik.net> CLIENT -> SERVER: X-Mailer: PHPMailer 6.2.0 ([https://github.com/PHPMailer/PHPMailer](https://github.com/PHPMailer/PHPMailer))
   CLIENT -> SERVER: MIME-Version: 1.0 CLIENT -> SERVER: Content-Type: text/plain;
   charset=UTF-8 CLIENT -> SERVER: CLIENT -> SERVER: Prueba CLIENT -> SERVER: CLIENT-
   > SERVER: . CLIENT -> SERVER: QUIT
 * Thanks so much!
    -  This reply was modified 5 years, 4 months ago by [ignasigarcia](https://wordpress.org/support/users/ignasigarcia/).
    -  This reply was modified 5 years, 4 months ago by [ignasigarcia](https://wordpress.org/support/users/ignasigarcia/).
 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/dkim-headers-not-generated/#post-14004934)
 * Thank you for the extra information. Please check the following troubleshooting
   steps.
 * [https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting)
 * Let me know if they help you.
 * Thank you
    -  This reply was modified 5 years, 4 months ago by [mbrsolution](https://wordpress.org/support/users/mbrsolution/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘DKIM headers not generated’ is closed to new replies.

 * ![](https://ps.w.org/easy-wp-smtp/assets/icon.svg?rev=3158017)
 * [Easy WP SMTP – WordPress SMTP and Email Logs: Gmail, Office 365, Outlook, Custom SMTP, and more](https://wordpress.org/plugins/easy-wp-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-wp-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-wp-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-wp-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-wp-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-wp-smtp/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/dkim-headers-not-generated/#post-14004934)
 * Status: not resolved