• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk 10.4.4 on Debian 6 x86_64 - Spamassassin dependency not installed by Plesk

N

NoOne1337_

Guest
Hi Plesk/Parallels Team,

I just found a dependency problem when Spamassasin is installed and enabled in Plesk.

Problem: DKIM check fails within Spamassassin, but the DKIM signature is valid

Mail Header:
...
X-Spam-Status: No, score=-0.7 required=7.0 tests=FREEMAIL_FROM,HTML_MESSAGE,
RCVD_IN_DNSWL_LOW,SPF_PASS,T_DKIM_INVALID autolearn=ham version=3.3.1
...


Test:

# spamassassin -t -D dkim < /path/to/mail/message
Mar 23 01:23:42.317 [3213] dbg: dkim: cannot load Mail::DKIM module, DKIM checks disabled: Can't locate Mail/DKIM/Verifier.pm in @INC (@INC contains: /usr/share/perl5 /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at /usr/share/perl5/Mail/SpamAssassin/Plugin/DKIM.pm line 584.

Then I searched for the needed Debian Packages and installed it:

apt-get install libmail-dkim-perl (libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl will be installed as dependencies)

After installation of the needed packages and dependencies the problem has been fixed:

Mar 23 01:24:19.266 [3281] dbg: dkim: using Mail::DKIM version 0.38
Mar 23 01:24:19.267 [3281] dbg: dkim: performing public key lookup and signature verification
Mar 23 01:24:19.288 [3281] dbg: dkim: DKIM, [email protected], d=gmail.com, s=20120113, a=rsa-sha256, c=relaxed/relaxed, pass, matches author domain
Mar 23 01:24:19.288 [3281] dbg: dkim: signature verification result: PASS
Mar 23 01:24:19.289 [3281] dbg: dkim: adsp not retrieved, author domain signature is valid
Mar 23 01:24:19.289 [3281] dbg: dkim: adsp result: - (valid a. d. signature), author domain 'gmail.com'
Mar 23 01:24:19.345 [3281] dbg: dkim: VALID signature by gmail.com, author [email protected], no valid matches
Mar 23 01:24:19.345 [3281] dbg: dkim: author [email protected], not in any dkim whitelist


Cheers,

NoOne1337
 
Back
Top