Username:
TITLE
Spamassassin issue - not compiled or not compiled properly
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Tests on 3 OSes, various results
OS with compilation errors :
Product version: Plesk Obsidian 18.0.59.2
OS version: Ubuntu 18.04 x86_64
Build date: 2024/02/29 17:00
Revision: 4d5def438d80f901f8ade594e9abb2c9ee467dd3
Product version: Plesk Obsidian 18.0.58.2
OS version: Ubuntu 18.04 x86_64
Build date: 2024/01/23 22:00
Revision: 37aa23e80de6aa54485384af35d425af8d131d4b
OS without compilation errors - only 403 'body_0' compiled rules:
Product version: Plesk Obsidian 18.0.58.2
OS version: Ubuntu 20.04 x86_64
Build date: 2024/01/23 15:00
Revision: 37aa23e80de6aa54485384af35d425af8d131d4b
PROBLEM DESCRIPTION
SYMPTOMS - error notifications in /var/log/maillog or /var/log/maillog.processed
spamd[xxxxx]: Can't locate Mail/SpamAssassin/CompiledRegexps/body_neg2000.pm in @INC (you may need to install the Mail::SpamAssassin::CompiledRegexps::body_neg2000 module) (@INC contains: /var/lib/spamassassin/compiled/5.026/3.004002 /var/lib/spamassassin/compiled/5.026/3.004002/auto /usr/share/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at (eval 2046) line 1.
STEPS TO REPRODUCE
STR:
In order to recreate the error notification regarding the body_neg2000 module, just
- restart spamassassin service
- investigate the maillog (or run command : service spamassassin status)
ACTUAL RESULT
RESULT 1 :
IF and only if spamassassin has not been compiled, then
- the error notification will appear in the maillog (and startup logs of the spamassassin service), AND
- the following lines are shown at startup :
spamd[xxxxx]: zoom: able to use 408/408 'body_0' compiled rules (100%)
spamd[xxxxx]: spamd: server started on IO::Socket::IP [127.0.0.1]:783 (running version 3.4.2)
RESULT 2 :
IF spamassasin has been compiled, a restart of spamassassin service can give at startup:
spamd[xxxxx]: zoom: able to use 393/403 'body_0' compiled rules (97.518%)
spamd[xxxxx]: server started on IO::Socket::IP [::1]:783, IO::Socket::IP [127.0.0.1]:783 (running version 3.4.4)
NOTE :
Please note the difference of
- 403 versus 408 'body_0' compiled rules when 3.4.4 version is running
- IO::Socket::IP [::1]:783 mentioned twice when 3.4.4 version is running
and I am not sure whether the deviations for version 3.4.4 are a bug or not.
EXPECTED RESULT
Spamassassin should be compiled and the error notification with respect to the body_neg2000 module should NOT be present.
In addition, the
- double IO::Socket::IP [::1]:783
- the 403 'body_0' compiled rules
in version 3.4.4 should be investigated, since it is an indicator of the version 3.4.4 not being compiled properly recently.
ANY ADDITIONAL INFORMATION
I will add once I can confirm that the version 3.4.4 is also not being compiled.
SOLUTION :
run the commands :
sa-update
sa-compile
service spamassassin restart
given that the required packages re2c and sa-compile should already be installed!
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
TITLE
Spamassassin issue - not compiled or not compiled properly
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Tests on 3 OSes, various results
OS with compilation errors :
Product version: Plesk Obsidian 18.0.59.2
OS version: Ubuntu 18.04 x86_64
Build date: 2024/02/29 17:00
Revision: 4d5def438d80f901f8ade594e9abb2c9ee467dd3
Product version: Plesk Obsidian 18.0.58.2
OS version: Ubuntu 18.04 x86_64
Build date: 2024/01/23 22:00
Revision: 37aa23e80de6aa54485384af35d425af8d131d4b
OS without compilation errors - only 403 'body_0' compiled rules:
Product version: Plesk Obsidian 18.0.58.2
OS version: Ubuntu 20.04 x86_64
Build date: 2024/01/23 15:00
Revision: 37aa23e80de6aa54485384af35d425af8d131d4b
PROBLEM DESCRIPTION
SYMPTOMS - error notifications in /var/log/maillog or /var/log/maillog.processed
spamd[xxxxx]: Can't locate Mail/SpamAssassin/CompiledRegexps/body_neg2000.pm in @INC (you may need to install the Mail::SpamAssassin::CompiledRegexps::body_neg2000 module) (@INC contains: /var/lib/spamassassin/compiled/5.026/3.004002 /var/lib/spamassassin/compiled/5.026/3.004002/auto /usr/share/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at (eval 2046) line 1.
STEPS TO REPRODUCE
STR:
In order to recreate the error notification regarding the body_neg2000 module, just
- restart spamassassin service
- investigate the maillog (or run command : service spamassassin status)
ACTUAL RESULT
RESULT 1 :
IF and only if spamassassin has not been compiled, then
- the error notification will appear in the maillog (and startup logs of the spamassassin service), AND
- the following lines are shown at startup :
spamd[xxxxx]: zoom: able to use 408/408 'body_0' compiled rules (100%)
spamd[xxxxx]: spamd: server started on IO::Socket::IP [127.0.0.1]:783 (running version 3.4.2)
RESULT 2 :
IF spamassasin has been compiled, a restart of spamassassin service can give at startup:
spamd[xxxxx]: zoom: able to use 393/403 'body_0' compiled rules (97.518%)
spamd[xxxxx]: server started on IO::Socket::IP [::1]:783, IO::Socket::IP [127.0.0.1]:783 (running version 3.4.4)
NOTE :
Please note the difference of
- 403 versus 408 'body_0' compiled rules when 3.4.4 version is running
- IO::Socket::IP [::1]:783 mentioned twice when 3.4.4 version is running
and I am not sure whether the deviations for version 3.4.4 are a bug or not.
EXPECTED RESULT
Spamassassin should be compiled and the error notification with respect to the body_neg2000 module should NOT be present.
In addition, the
- double IO::Socket::IP [::1]:783
- the 403 'body_0' compiled rules
in version 3.4.4 should be investigated, since it is an indicator of the version 3.4.4 not being compiled properly recently.
ANY ADDITIONAL INFORMATION
I will add once I can confirm that the version 3.4.4 is also not being compiled.
SOLUTION :
run the commands :
sa-update
sa-compile
service spamassassin restart
given that the required packages re2c and sa-compile should already be installed!
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug