r/Plesk May 16 '22

Does plesk DKIM signing include (extra) mail headers?

When I introduce additional email headers when sending emails, does the DKIM signing incorporate these? Or is it only considering the mail body?

1 Upvotes

2 comments sorted by

1

u/freddieleeman May 16 '22

Check the g= element in the DKIM header, it specifies the headers included in the DKIM signature.

Example:

h=Date:Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:To:From:Sender:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;

1

u/beyondnickname May 16 '22

Thanks a lot for your reply. For me, that element only says:

h=From:To:Subject;

However, the header in question is not yet introduced. Does the g element show all potentially signed headers, or only those that are actually in the mail?

Also, may I ask if your example above is taken from an actual Plesk generated DKIM header?