Hello,
we've got 2 mailgateways in production and we are happy with them. We recently noticed that DKIM is not working if we add a disclaimer through the mail filter actions. If we switch off the disclaimer, we get a valid/ok message for DKIM. If we enable disclaimer we get the following message:
So the body has been altered indicates that the disclaimer has been added after the DKIM signature. Is there anything we need to modify the order of the disclaimer and the DKIM (if it has an oder) ?
Here is the system information:
Any help is very appreciated!
Best regards,
Nico
we've got 2 mailgateways in production and we are happy with them. We recently noticed that DKIM is not working if we add a disclaimer through the mail filter actions. If we switch off the disclaimer, we get a valid/ok message for DKIM. If we enable disclaimer we get the following message:
Code:
DKIM Information:
DKIM Signature
Message contains this DKIM Signature:
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=honicon.com; h=
cc:content-type:content-type:date:from:from:message-id
:mime-version:reply-to:subject:subject:to:to; s=dkimkey; bh=GNKR
CocnB9XsSqDffSiU0Ow8Jrzj91Eku3G0Rx7YxSc=; b=Cj3nG+FEhtvqk4ZShOZF
wKXiPoFD6/tsW1GikbN0rx26x+XNtc3uC0Dzcww2Xo3lTFgq334rEFefnRsEBSjc
BJfRL+F49sr9zvOT8miUa8EcejHRw2saqr6EnFiFGk3t1uU+bpUTtiADntyEZ/r+
7Ex4e3nkJkySxMWxdxue6n6oGAz16PywSHk+Cg5AUup5uNNXzSgtaf9j+D+pK4Gw
tJzSw8syz1F5HgZZ1GThU4pZJLRhWJkm2wUIBWf1/Yv0+De+QYmye2dzNrEHOszl
O/HVFoimcLl8QtpghlwEpD+He1KBW/es20YoIPc6P+3UJmgah18hPy+ogLWytSi1
K29V4wrBYk0111n6gdB37mcxcKOjk73+QRACLD5wENGXyvnFSJoTrJ7PmawjCJqr
L1oGtNH1+luKfcWdx+x3Of5gK9m9JmHnbnyR5GqkOJl3hG55tuiGaB4Qm2hF0KHT
eIn9nb09mpr4kXqA82P38ntQjJxe/5F3NQhnQXMwGRxSQ0VYGYqUrxnRuxRIA9a2
w4ZCyfNMZL8RiVtwztCUUsWheWYvKgpAqwjizG8ErzPHckiSUDP3Z1BReWLMZE/Q
9IZH8Jm3prmWGILmFqDeZtVzFrBPhYMPUbcvInfwKlf016C59PGBeP/wa8GCsERz
Zix44MnbARtusA6lIiuUf/k=
Signature Information:
v= Version: 1
a= Algorithm: rsa-sha256
c= Method: relaxed/relaxed
d= Domain: honicon.com
s= Selector: dkimkey
q= Protocol:
bh= GNKR
CocnB9XsSqDffSiU0Ow8Jrzj91Eku3G0Rx7YxSc=
h= Signed Headers: cc:content-type:content-type:date:from:from:message-id
:mime-version:reply-to:subject:subject:to:to
b= Data: Cj3nG+FEhtvqk4ZShOZF
wKXiPoFD6/tsW1GikbN0rx26x+XNtc3uC0Dzcww2Xo3lTFgq334rEFefnRsEBSjc
BJfRL+F49sr9zvOT8miUa8EcejHRw2saqr6EnFiFGk3t1uU+bpUTtiADntyEZ/r+
7Ex4e3nkJkySxMWxdxue6n6oGAz16PywSHk+Cg5AUup5uNNXzSgtaf9j+D+pK4Gw
tJzSw8syz1F5HgZZ1GThU4pZJLRhWJkm2wUIBWf1/Yv0+De+QYmye2dzNrEHOszl
O/HVFoimcLl8QtpghlwEpD+He1KBW/es20YoIPc6P+3UJmgah18hPy+ogLWytSi1
K29V4wrBYk0111n6gdB37mcxcKOjk73+QRACLD5wENGXyvnFSJoTrJ7PmawjCJqr
L1oGtNH1+luKfcWdx+x3Of5gK9m9JmHnbnyR5GqkOJl3hG55tuiGaB4Qm2hF0KHT
eIn9nb09mpr4kXqA82P38ntQjJxe/5F3NQhnQXMwGRxSQ0VYGYqUrxnRuxRIA9a2
w4ZCyfNMZL8RiVtwztCUUsWheWYvKgpAqwjizG8ErzPHckiSUDP3Z1BReWLMZE/Q
9IZH8Jm3prmWGILmFqDeZtVzFrBPhYMPUbcvInfwKlf016C59PGBeP/wa8GCsERz
Zix44MnbARtusA6lIiuUf/k=
Public Key DNS Lookup
Building DNS Query for dkimkey._domainkey.honicon.com
Retrieved this publickey from DNS: v=DKIM1; h=sha256; k=rsa; p=MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEApddtS+aM6of4mtm6NcEddZSUWxGvsZlBzZqiR94f5HcCm16u8h1ayZj2jqso0QPbooBAHebCtDOQFEprIQLEnwRAVsof+Uhc2kTZZWSRhjT8WYppIVZ2ES4jG9fklelHEVuhB2Dkowv/m8FLbqWZN2J9L6g/Q0iL1dl9+pd7oq6yuv904qMSa+4/8pM/gyzNAhD2wRjga7iQk4fmmP/rMqClPIecPY5BMnoVhU6uwnupWjKcoSYm7jSF63RUf/tvZrs/TQGCo0jQnqerYz0Tqz+RIk2GbNGde33Sje7Z74hnFYd0PxwYsMdS3dIj432R2ojly7rjoPpGtwvBatjBWsjF5zfltYCjnQNrgksytyBAhmjSNQgbwEzHkUmrYR9DvdVTmx7VaA1UWwNvOrRgxpNFCFmNAV8TYec45fRLXiF2UmdXza/bPaskxNfL9bX8AqmsskqqkX4W89NEa00GvVjbD3vGgml+1Kh/SiVdVtMMpXHOjDY5kRA+s0kGbSxcUYpg0rFyOVYm3DNhFzGfQIT0UMq5rglpy85ELE0j2A2H5D13S1gQ1rtxisYPjdbxxGWkEb2ObkCwkM/jgy4QMP/6vStljz9tPLFqsaqa/GEJv1IibCnc3rlrr+omQcEKMsAVCeljhrb6f6F0TLkNzzklzCqftOWxrhpw0JG4JiMCAwEAAQ==
Validating Signature
result = fail
Details: body has been altered
So the body has been altered indicates that the disclaimer has been added after the DKIM signature. Is there anything we need to modify the order of the disclaimer and the DKIM (if it has an oder) ?
Here is the system information:
Code:
proxmox-mailgateway: 7.0-1
pmg-api: 7.0-8
pmg-gui: 3.0-5
pve-kernel-helper: 7.1-2
pve-kernel-5.11: 7.0-8
pve-kernel-5.4: 6.4-5
pve-kernel-5.11.22-5-pve: 5.11.22-10
pve-kernel-5.11.22-4-pve: 5.11.22-9
pve-kernel-5.11.22-3-pve: 5.11.22-7
pve-kernel-5.4.128-1-pve: 5.4.128-1
pve-kernel-5.4.124-1-pve: 5.4.124-2
pve-kernel-5.4.106-1-pve: 5.4.106-1
clamav-daemon: 0.103.3+dfsg-0+deb11u1
ifupdown: 0.8.36
libarchive-perl: 3.4.0-1
libjs-extjs: 7.0.0-1
libjs-framework7: 4.4.7-1
libproxmox-acme-perl: 1.3.0
libproxmox-acme-plugins: 1.3.0
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.0-9
libpve-http-server-perl: 4.0-2
libxdgmime-perl: 1.0-1
lvm2: 2.03.11-2.1
pmg-docs: 7.0-2
pmg-i18n: 2.5-1
pmg-log-tracker: 2.2.0-1
postgresql-13: 13.4-0+deb11u1
proxmox-mini-journalreader: 1.2-1
proxmox-spamassassin: 3.4.6-3
proxmox-widget-toolkit: 3.3-6
pve-firmware: 3.3-2
pve-xtermjs: 4.12.0-1
zfsutils-linux: 2.0.5-pve1
Any help is very appreciated!
Best regards,
Nico