Skip to content

DKIM and ARC signing headers are duplicate #76

Description

@dmagyar

I had to override the arc.conf and dkim_signing.conf inside of /etc/rspamd/local.d/ because with the default settings it duplicated headers in the h= value upon signature.

I've added this line: sign_headers = "From:To:Cc:Reply-To:Subject:Date:Message-ID:Content-Type:MIME-Version";

Before fix:

Thu, 7 Aug 2025 18:02:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=magyar.cc; s=mail;
t=1754589735;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:to:to:cc:mime-version:mime-version:content-type:content-type:content-transfer-encoding:content-transfer-encoding;bh=3g7dCsSnBa/3DzRzTpCh0KHYt2q+S7U/Pqk0vBBbOxc=;
...

After the fix:

Thu, 7 Aug 2025 18:24:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=magyar.cc; s=mail;t=1754591090; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version;bh=QiaZNjwFn4oYKodBLPIakUzYeLdRWb2pzG63ib7+968=;

Without this fix DKIM checks at gmail fail. Recommend incorporating this into the default conf files.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions