Hi,
I am using Axigen 10.3.3.1 (Free version) on linux AMI 2 and configured DKIM using the below mentioned link,
When sending email using a script it is saying DKIM ‘FAIL’ with domain i--------t, although on email header it is saying DKIM status is OK.
attaching email header for reference.
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
h=dkim-status:domainkey-status:content-transfer-encoding:subject:date
:to:from:mime-version:message-id:domainkey-signature:dkim-signature;
bh=HQtWSrja9garlmw4R+eezXaOKOy/KGhaHNkNmA0Wci0=;
fh=ieEXUAqMwRRtJsFrbBeo0d2jc5L5nht8CWRcq7tN7O8=;
b=Sbo8F4RNDBCwjCs2q1AB4jRj1XvReptijLaDR/QODHW1mHmJTIsumHtInh/IC+l/Gq
O/fJsFEoUrTl+tOlwkD+lbLacRzGCkV4lczPzkBAKFHoHWu4knrNPxLQBa+v3/FQb3tR
wuVGV783ZlgO+ZxiyPlKXpoQdcTxOBUvb4Wi1z+9GiToZPzsuNuXf2YehdOM0XxWvUO9
rjXVHYHfD9kcjM8l7C6VuH4F3Lnvn16lABj8EZjEadNhyDYtbN6L03THFccxUSt8iYfD
GP7WSc/H0npwWFDvQYSSk3SC37WVRYxpacCMhs5oGLty23BSTq3VyLZX5Ypr89UTcMRX
X8lQ==;
dara=google.com
dkim=fail header.i=@i-------t header.s=mailr10 header.b=canaC9UA;
spf=pass (google.com: domain of noreply@i-------t designates 35.XX.XX.85 as permitted sender) smtp.mailfrom=noreply@i-------t;
dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=i-------t
DKIM-Signature: v=1; a=rsa-sha256; d=i-------t; s=mailr10; c=relaxed/relaxed; q=dns/txt; h=from:date:to:cc:message-id:subject; bh=HQtWSrja9garlmw4R+eezXaOKOy/KGhaHNkNmA0Wci0=; b=canaC9UA/XTER3uJfqLTEHo8ICvJA/vBe9YlNbxU9lBGqdcL5dV1ippHYPYEcYBcb7oWoq+rnqAOiRi/y+ePEaSTj5oZm4Ymhjm7/Y5wlXV3XhwyweSl99GWEhXOPBqyGm1+JQWR9oU6OphreK+JadAK7fzKr91CJ4yWJPwtiJvE8qYEgj13iL4ii8k8Gq+rMh8zg8UlN5RIW+xUI7HhsGthx1z8HjVbpGGjQZap8Lasn4bTfsGE9KWiD4waUXysmESquuO6LTKmbHi3daztPsZ5DkV1k3tjsx6TMroM6DfGBxsxWTiMqo0FpiKYtOsN++ft/kylvS1p0ZNFumNDyA==;
DomainKey-Signature: a=rsa-sha1; b=BodUNGJgyiBGf9FCLIiQrABjhOMHaW/ke6tidnX9e7lKoXddBw07d7OLiqwRlIT4eRskZxa3NzHSMbsr37XaO0bKo8orwVTgI9TWnp1RJF+EsVX4a65KpyJWGr5UtwzIPWTDX4puqz3kWiECynMJ7OZOyj2XV6Xu4GD57b5DzqsOkcLJv/vAIm/CkPz9NmDR8kSveOFWaomKlWIRDZRs7BCYB5yHfN0jsaCn7uJ5RVuHWMLFX3f8Txyok97fHyub8+HZmBLzrdcpS2dh0rEnSpAJS29jsUAVoyLj3z5BZy29A/DXXpYSw91X6aSh5rlJVVYpBqoKd6JsRwqFGK29UA==; c=nofws; q=dns; d=i-------t; s=mailr10; h=message-id:from:to:date:subject:cc;
Received: from DESKTOP-PGJNPFV (52.65.182.160) by ip-10-0-100-57.ec2.internal (Axigen) with ESMTP id 0D15D7; Mon, 29 Jul 2024 07:38:53 +0000
Message-ID: 1722238734202356991@ip-10-0-100-57.ec2.internal
MIME-Version: 1.0
From: noreply@i-------t
To: khurra------@gmail.com
Date: 29 Jul 2024 12:38:54 +0500
Subject: Email testing from Po----nt.
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-AXIGEN-DK-Result: Ok
DomainKey-Status: good
X-AXIGEN-DKIM-Result: Ok
DKIM-Status: good
Email testing from Po----nt.
From DKIM Validator
DKIM Information:
DKIM Signature
Message contains this DKIM Signature:
DKIM-Signature: v=1; a=rsa-sha256; d=i-------t; s=mailr10; c=relaxed/relaxed;
q=dns/txt; h=from:date:to:cc:message-id:subject;
bh=HQtWSrja9garlmw4R+eezXaOKOy/KGhaHNkNmA0Wci0=;
b=lW7A/26Jx6ZyICzKds1yHCvFSszPUa9dNbUYgYkog1W0Jyji+r28GcMk8qYuLgbfmjwkNffBzmoyu1s/4QMZHt7ZI4s2+sODFbGzdkWxSRcxENItjELgqEgpYrOO5Ri+WDTHcPiv4CPHCFbbBdlSqBshBsCFqY+3UMy7RDGd7OsvzB5urn9tZZQwMLZlQojkhqKfrbG3W64PHUGz8OxbYtzrVmXfxSncq3KDgyeQDlmJq3CM4Dhk6xYHU9O9O6uRbjD1PryTR+89NHd5cv3orUF3ozbXign0XbiSXcFn6culvfm0QwUD9Vp+9qx7zEyGz2gghFgFw55m4POZ2i+MVw==;
DKIM-Status: good
Signature Information:
v= Version: 1
a= Algorithm: rsa-sha256
c= Method: relaxed/relaxed
d= Domain: i-------t
s= Selector: mailr10
q= Protocol: dns/txt
bh= HQtWSrja9garlmw4R+eezXaOKOy/KGhaHNkNmA0Wci0=
h= Signed Headers: from:date:to:cc:message-id:subject
b= Data: lW7A/26Jx6ZyICzKds1yHCvFSszPUa9dNbUYgYkog1W0Jyji+r28GcMk8qYuLgbfmjwkNffBzmoyu1s/4QMZHt7ZI4s2+sODFbGzdkWxSRcxENItjELgqEgpYrOO5Ri+WDTHcPiv4CPHCFbbBdlSqBshBsCFqY+3UMy7RDGd7OsvzB5urn9tZZQwMLZlQojkhqKfrbG3W64PHUGz8OxbYtzrVmXfxSncq3KDgyeQDlmJq3CM4Dhk6xYHU9O9O6uRbjD1PryTR+89NHd5cv3orUF3ozbXign0XbiSXcFn6culvfm0QwUD9Vp+9qx7zEyGz2gghFgFw55m4POZ2i+MVw==
Public Key DNS Lookup
Building DNS Query for mailr10._domainkey.i-------t
Retrieved this publickey from DNS: k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxKH2h/Kce9I35YL8avEmz3aCJOojU2Ws3h6g8HrTR95ufird9Yd5pW6ur/JP/dYqXkKUxRqiLuDPCjkSeYwWjoM7cW7I5zXrJSeXHQratvEGcuKvfSSbYEbbAulPgVdwKL7HMNcWaoHc8PYD2QEuytLwbaNPRyBR8Vuyrennzrqz8qcAOqMvUdkVNgHU0CMKrKYJKGXtxFc5T4rdEtfrkdovYPU2yvSDtF5eh8acY5xaEoMQs/vXMsqq9tlllpc2QB1k7/y7WoM3VQrix50oJtoxYl2xb15G1jLecDd+1vMHsvF4/DEqehSdN8PskixbYxcQmABTaWO11RnQJfCTSwIDAQAB
Validating Signature
result = fail
Details: bad RSA signature
From MailGenius
DKIM_INVALID,DKIM_SIGNED,RCVD_IN_DNSWL_MED,
From MXToolbox the record seems valid
From MailTester
Your DKIM signature is not valid.
Please suggest what should be done or review to resolve this issue.