I'm not sure where  the hostname in the i= tag comes from (but not from 
assp) - and yes, this is the reason. The latest version of Mail::DKIM 
should add an '@' in front of the domainname/hostname!

make sure Mail::DKIM is uptodate (latest version 1.20200513.1)

if the problem still exists, define the Identity in the DKIM-selector 
definition (a general recommendation to avoid identity missmatches). 
Notice: older Mail::DKIM version may not support this setting.

Identity=EMAILADDRESS
or
Identity=@DOMAIN


- assp is outdated
- perl is outdated

Thomas


Von:    "Thomas Kofler" <k...@outlook.com>
An:     "assp-user@lists.sourceforge.net" 
<assp-user@lists.sourceforge.net>
Datum:  20.08.2020 21:13
Betreff:        [Assp-user] DKIM: Validating Signature, Details: bad 
identity



ASSP version 2.6.3  *SPAM-Evaporator*  build 19169, 
perl-5.16.3-292.el7.x86_64, CentOS 7 x64

Hi,

DKIM signatures are attached but are shown as

Validating Signature
result = invalid
Details: bad identity

when verified (tho...@domain123.com ==> a6icpijhjr5...@dkimvalidator.com)

Also ASSP comes to the same result:

Aug-20-20 20:43:08 m1-48988-06675 [Worker_1] [MessageOK] 192.168.2.20 
<tho...@domain123.com> to: a6icpijhjr5...@dkimvalidator.com message ok [1] 
-> notspam/1--2823069.eml
Aug-20-20 20:43:08 [Worker_1] DKIM: Selector = key1
Aug-20-20 20:43:08 [Worker_1] DKIM: Domain = domain123.com
Aug-20-20 20:43:08 [Worker_1] DKIM: KeyFile = 
/opt/assp/certs/dkim-private.key
Aug-20-20 20:43:08 [Worker_1] DKIM: Method = relaxed/relaxed
Aug-20-20 20:43:08 [Worker_1] DKIM: Headers = 
Message-ID:From:Subject:To:MIME-Version:Content-Type
Aug-20-20 20:43:08 [Worker_1] DKIM: Mode = DKIM
Aug-20-20 20:43:08 [Worker_1] DKIM: Domain = domain123.com
Aug-20-20 20:43:08 [Worker_1] DKIM: KeyFile = 
/opt/assp/certs/dkim-private.key
Aug-20-20 20:43:08 [Worker_1] DKIM: Method = relaxed/relaxed
Aug-20-20 20:43:08 [Worker_1] DKIM: Headers = 
Message-ID:From:Subject:To:MIME-Version:Content-Type
Aug-20-20 20:43:08 [Worker_1] DKIM: Mode = DKIM
Aug-20-20 20:43:08 [Worker_1] DKIM: Algorithm = rsa-sha1
Aug-20-20 20:43:08 m1-48988-06675 [Worker_1] 192.168.2.20 
<tho...@domain123.com> to: a6icpijhjr5...@dkimvalidator.com info: 
successfully added DKIM-Signature
Aug-20-20 20:43:08 m1-48988-06675 [Worker_1] 192.168.2.20 
<tho...@domain123.com> to: a6icpijhjr5...@dkimvalidator.com DKIM: self 
signature check: result: invalid - detail: invalid (bad identity)

DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=domain123.com; h=
                 Message-ID:From:Subject:To:MIME-Version:Content-Type; 
s=key1; i=
                 www12.hosting.cc; bh=yozb3+jTZHJZWY6+yAc67TjplMM=; 
b=f/PePz5s6q0z
 EGEGFxPJ9H6jCI7bQ+sT+hGF/Fh1KSpXKMSxMvSO3lXp4KCdjkL4UKllR/NzEBrS
 v00DehJ652IJYOF4orwpuDX2qZ6l2hqdNKK+4eMoqXXRP8gnsgAEpk91N5D8ql6O
                 DSwZ36EWVoIkmaHnWYOZPcnKjgn8Xek=

I suppose its the i tag which is causing the issue? www12.hosting.cc is an 
alias of the machine on which assp is running, but not the external DNS 
name.
Shouldln't it be something like i=domain123.com (the sending mail domain?)

Thanks in advance,
Thomas




_______________________________________________
Assp-user mailing list
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user






DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************


_______________________________________________
Assp-user mailing list
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to