Hi,
I have configured a proxmox gateway to replace our current email gateway.
The gateway is on on our IDMZ a zone on the firewall.
I have configured dkim signing for several domains but this is not working.
I send a mail via an internal application to my G-mail address or my email in O365 and always get a dkim failure.
I have also configured other domains with the same problem.
The public key is in /etc/pmg/dkim and /etc/pmg/dkim/domains have cipal.be 1
I am Shure the dkim config in dns is correct because when I send the same mail via our current email gateways in the same setup it is ok.
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@cipal.be header.s=antispam header.b=XH3w42MP;
spf=pass (google.com: domain of dp@cipal.be designates 193.190.120.88 as permitted sender) smtp.mailfrom=dp@cipal.be
My pmg.conf :
section: admin
dkim_selector antispam
dkim_sign 1
dkim_sign_all_mail 0
email danny.peeters@cipalschaubroeck.be
section: mail
ext_port 26
int_port 25
tls 1
tlslog 1
Header in my google mailbox.
ARC-Authentication-Results: i=1; mx.google.com;
dkim=fail header.i=@cipal.be header.s=antispam header.b="RlW/3tos";
spf=pass (google.com: domain of dp@cipal.be designates 193.190.120.72 as permitted sender) smtp.mailfrom=dp@cipal.be
Return-Path: <dp@cipal.be>
Received: from gefwml06.cipalschaubroeck.be (mail.cipal.be. [193.190.120.72])
by mx.google.com with ESMTPS id x21-20020aa7dad5000000b0051d8b5effd4si1819882eds.560.2023.06.26.00.41.10
for <dann.peeters@gmail.com>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 26 Jun 2023 00:41:10 -0700 (PDT)
Received-SPF: pass (google.com: domain of dp@cipal.be designates 193.190.120.72 as permitted sender) client-ip=193.190.120.72;
Authentication-Results: mx.google.com;
dkim=fail header.i=@cipal.be header.s=antispam header.b="RlW/3tos";
spf=pass (google.com: domain of dp@cipal.be designates 193.190.120.72 as permitted sender) smtp.mailfrom=dp@cipal.be
Received: from gefwml06.cipalschaubroeck.be (localhost.localdomain [127.0.0.1]) by gefwml06.cipalschaubroeck.be (Proxmox) with ESMTP id 4292C2524B for <dann.peeters@gmail.com>; Mon, 26 Jun 2023 09:41:10 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cipal.be; h=cc :from:reply-to:subject:subject:to; s=antispam; bh=k951FapS4C0lD+ KMmv5rbvj5fjQvtdUZCVx/jWVP6Os=; b=RlW/3tosTfWcdAQGxIDFn/FOyVbz4K CCiSXMGkbw5y+QGjLc+8cGSc+r9YP8TXAF3Q2FrLy/6nMsTnaeiCZ7/adzXGghvw u0Di8KpbSrVqd0CqNQTR2xQ/AVh9sAPfgvvnvPTFFcatPHOzQ6HY1rip1+SmiNZD r8572rmb6+rGxHvg9pdYhuvTD6lPKN1yx617BQs21QDH76qSOlCY9AjDFkWJwkFY apty8BGfJ4AJ+e5xlVOmOeEQTabzmUs1gVCO9gQEaohoU6zHIzWjvb5Y0T/KYn/I j2gOHO3Kau+wdjTc+G64g2SHSxubisWz45yCVrSBBqX6iomGKcp+7qdw==
Received: from GEMGTnsh.adin.cipal.be (GEMGTnsh.adin.cipal.be [192.168.1.1]) by gefwml06.cipalschaubroeck.be (Proxmox) with SMTP id 26A8425226 for <dann.peeters@gmail.com>; Mon, 26 Jun 2023 09:41:10 +0200 (CEST)
Subject: TEST
Message-Id: <20230626074110.4292C2524B@gefwml06.cipalschaubroeck.be>
Date: Mon, 26 Jun 2023 09:41:10 +0200 (CEST)
From: dp@cipal.be
I have configured a proxmox gateway to replace our current email gateway.
The gateway is on on our IDMZ a zone on the firewall.
I have configured dkim signing for several domains but this is not working.
I send a mail via an internal application to my G-mail address or my email in O365 and always get a dkim failure.
I have also configured other domains with the same problem.
The public key is in /etc/pmg/dkim and /etc/pmg/dkim/domains have cipal.be 1
I am Shure the dkim config in dns is correct because when I send the same mail via our current email gateways in the same setup it is ok.
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@cipal.be header.s=antispam header.b=XH3w42MP;
spf=pass (google.com: domain of dp@cipal.be designates 193.190.120.88 as permitted sender) smtp.mailfrom=dp@cipal.be
My pmg.conf :
section: admin
dkim_selector antispam
dkim_sign 1
dkim_sign_all_mail 0
email danny.peeters@cipalschaubroeck.be
section: mail
ext_port 26
int_port 25
tls 1
tlslog 1
Header in my google mailbox.
ARC-Authentication-Results: i=1; mx.google.com;
dkim=fail header.i=@cipal.be header.s=antispam header.b="RlW/3tos";
spf=pass (google.com: domain of dp@cipal.be designates 193.190.120.72 as permitted sender) smtp.mailfrom=dp@cipal.be
Return-Path: <dp@cipal.be>
Received: from gefwml06.cipalschaubroeck.be (mail.cipal.be. [193.190.120.72])
by mx.google.com with ESMTPS id x21-20020aa7dad5000000b0051d8b5effd4si1819882eds.560.2023.06.26.00.41.10
for <dann.peeters@gmail.com>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 26 Jun 2023 00:41:10 -0700 (PDT)
Received-SPF: pass (google.com: domain of dp@cipal.be designates 193.190.120.72 as permitted sender) client-ip=193.190.120.72;
Authentication-Results: mx.google.com;
dkim=fail header.i=@cipal.be header.s=antispam header.b="RlW/3tos";
spf=pass (google.com: domain of dp@cipal.be designates 193.190.120.72 as permitted sender) smtp.mailfrom=dp@cipal.be
Received: from gefwml06.cipalschaubroeck.be (localhost.localdomain [127.0.0.1]) by gefwml06.cipalschaubroeck.be (Proxmox) with ESMTP id 4292C2524B for <dann.peeters@gmail.com>; Mon, 26 Jun 2023 09:41:10 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cipal.be; h=cc :from:reply-to:subject:subject:to; s=antispam; bh=k951FapS4C0lD+ KMmv5rbvj5fjQvtdUZCVx/jWVP6Os=; b=RlW/3tosTfWcdAQGxIDFn/FOyVbz4K CCiSXMGkbw5y+QGjLc+8cGSc+r9YP8TXAF3Q2FrLy/6nMsTnaeiCZ7/adzXGghvw u0Di8KpbSrVqd0CqNQTR2xQ/AVh9sAPfgvvnvPTFFcatPHOzQ6HY1rip1+SmiNZD r8572rmb6+rGxHvg9pdYhuvTD6lPKN1yx617BQs21QDH76qSOlCY9AjDFkWJwkFY apty8BGfJ4AJ+e5xlVOmOeEQTabzmUs1gVCO9gQEaohoU6zHIzWjvb5Y0T/KYn/I j2gOHO3Kau+wdjTc+G64g2SHSxubisWz45yCVrSBBqX6iomGKcp+7qdw==
Received: from GEMGTnsh.adin.cipal.be (GEMGTnsh.adin.cipal.be [192.168.1.1]) by gefwml06.cipalschaubroeck.be (Proxmox) with SMTP id 26A8425226 for <dann.peeters@gmail.com>; Mon, 26 Jun 2023 09:41:10 +0200 (CEST)
Subject: TEST
Message-Id: <20230626074110.4292C2524B@gefwml06.cipalschaubroeck.be>
Date: Mon, 26 Jun 2023 09:41:10 +0200 (CEST)
From: dp@cipal.be
Last edited: