Dkim header match only the first one

koby

Renowned Member
Jun 21, 2012
138
4
83
Natanya , Israel
Hello Guys ,
I would like to white mail by setting the match field with "DKIM-Signature" as Filed and "greeninvoice.co.il" as Value.
But , There some mail with 2 places in header which contain "DKIM-Signuture" in this case as I can see the systems check ONLY the FIRST one....

Please as an example take a look at the following message header :

Code:
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;
    s=koou6b3blff23ixpyj3jcruv47a5n2k5; d=jumbomail.me; t=1657887908;
    h=MIME-Version:From:To:Date:Subject:Content-Type:Message-ID;
    bh=dEUWda6HmoxAt1fWuZTtDiT5UM+yMMR6eyDjtRiKXU8=;
    b=gMrgjBsJmDHsRBWymeT83Nk91XOPc+Y/7k6G//J7qvgGkTOxvI9P6BJUexazWvXG
    LGe6UorYQUvXVgUgopSsug6UeqkiozvnNIJv11DqrkCOQbk/ZSeKvoa+cUiol31xEtu
    0iaWll2mSRHQICdJoYf6vCz9zqWvQPpR8Yq4z+Nw=
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;
    s=ihchhvubuqgjsxyuhssfvqohv7z3u4hn; d=amazonses.com; t=1657887908;
    h=MIME-Version:From:To:Date:Subject:Content-Type:Message-ID:Feedback-ID;
    bh=dEUWda6HmoxAt1fWuZTtDiT5UM+yMMR6eyDjtRiKXU8=;
    b=1kjLBqxOd796ZdpqEK1OdGd4D0qsXKkIR1M7KUTZ6DhYKXLlQCgtyUrrVQ6r8YIg
    5tlglbouvfyzzFusNk2MhVfIfhSGgFtrYHy2J9EmOIrFKoZq2MWmtorAq6k2f2/3n6F
    7ae8TZEYnWX9bBu2mBOKAAk5ATCXjQjAhsifbVdU=

As you can see the is 2 places with the "DKIM-Signature" at the header.

Any Advice please
Koby Peleg Hen
 
this should be fixed with the latest pmg-api 7.1-4 version (currently on pmgtest)
we changed the filter to match all occurrences of headers not just the first one
 
  • Like
Reactions: Stoiko Ivanov