Mailing List Archive

Missing Mail::SpamAssassin::Plugin::WelcomeListSubject
I have just had reason to run --lint (first time in a week) and it
failed drastically. This is on an well-established postfix mail server
(but currently no real users) running 3.4.6 on Perl version 5.32.1 on
Debian Bullseye. Result of --lint is...

Oct 26 14:39:02.888 [121778] warn: plugin: failed to parse plugin (from
@INC): Can't locate Mail/SpamAssassin/Plugin/WelcomeListSubject.pm in
@INC (you may need to install the
Mail::SpamAssassin::Plugin::WelcomeListSubject module) (@INC contains:
/usr/share/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1
/usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32
/usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32
/usr/share/perl/5.32 /usr/local/lib/site_perl) at (eval 109) line 1.

with two added comments due to plugin not found.

Reload just perormed gives...

Oct 26 14:29:16 bristolmail spamd[9968]: spamd: server killed by
SIGTERM, shutting down
Oct 26 14:29:16 bristolmail spamd[9968]: spamd: cannot send SIGINT to
child process [9970]: No such process
Oct 26 14:29:16 bristolmail spamd[9968]: spamd: cannot send SIGINT to
child process [9969]: No such process
Oct 26 14:29:20 bristolmail spamd[121434]: logger: removing stderr method
Oct 26 14:29:20 bristolmail spamd[121438]: plugin: failed to parse
plugin (from @INC): Can't locate
Mail/SpamAssassin/Plugin/WelcomeListSubject.pm in @INC (you may need to
install the Mail::SpamAssassin::Plugin::WelcomeListSubject module) (@INC
contains: /usr/share/perl5 /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1
/usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/lib/x86_64-linux-gnu/perl-base
/usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32
/usr/local/lib/site_perl) at (eval 31) line 1.
Oct 26 14:29:22 bristolmail spamd[121438]: zoom: able to use 530/530
'body_0' compiled rules (100%)
Oct 26 14:29:23 bristolmail spamd[121438]: spamd: server started on
IO::Socket::IP [127.0.0.1]:783 (running version 3.4.6)
Oct 26 14:29:23 bristolmail spamd[121438]: spamd: server pid: 121438
Oct 26 14:29:23 bristolmail spamd[121438]: spamd: server successfully
spawned child process, pid 121439
Oct 26 14:29:23 bristolmail spamd[121438]: spamd: server successfully
spawned child process, pid 121440
Oct 26 14:29:23 bristolmail spamd[121438]: prefork: child states: IS
Oct 26 14:29:23 bristolmail spamd[121438]: prefork: child states: II
Oct 26 14:29:24 bristolmail spamd[121438]: spamd: server killed by
SIGTERM, shutting down
Oct 26 14:29:24 bristolmail spamd[121470]: logger: removing stderr method
Oct 26 14:29:24 bristolmail spamd[121475]: plugin: failed to parse
plugin (from @INC): Can't locate
Mail/SpamAssassin/Plugin/WelcomeListSubject.pm in @INC (you may need to
install the Mail::SpamAssassin::Plugin::WelcomeListSubject module) (@INC
contains: /usr/share/perl5 /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1
/usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/lib/x86_64-linux-gnu/perl-base
/usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32
/usr/local/lib/site_perl) at (eval 31) line 1.
Oct 26 14:29:25 bristolmail spamd[121475]: zoom: able to use 2/2
'body_500' compiled rules (100%)
Oct 26 14:29:26 bristolmail spamd[121475]: spamd: server started on
IO::Socket::IP [127.0.0.1]:783 (running version 3.4.6)
Oct 26 14:29:26 bristolmail spamd[121475]: spamd: server pid: 121475
Oct 26 14:29:26 bristolmail spamd[121475]: spamd: server successfully
spawned child process, pid 121476
Oct 26 14:29:26 bristolmail spamd[121475]: spamd: server successfully
spawned child process, pid 121477
Oct 26 14:29:26 bristolmail spamd[121475]: prefork: child states: IS
Oct 26 14:29:26 bristolmail spamd[121475]: prefork: child states: II
Oct 26 14:38:52 bristolmail spamd[121475]: spamd: server hit by SIGHUP,
restarting
Oct 26 14:38:52 bristolmail spamd[121475]: spamd: child [121477] killed
successfully: interrupted, signal 2 (0002)
Oct 26 14:38:52 bristolmail spamd[121475]: spamd: child [121476] killed
successfully: interrupted, signal 2 (0002)
Oct 26 14:38:52 bristolmail spamd[121475]: spamd: server socket closed,
type IO::Socket::IP
Oct 26 14:38:52 bristolmail spamd[121475]: logger: removing stderr method
Oct 26 14:38:53 bristolmail spamd[121772]: plugin: failed to parse
plugin (from @INC): Can't locate
Mail/SpamAssassin/Plugin/WelcomeListSubject.pm in @INC (you may need to
install the Mail::SpamAssassin::Plugin::WelcomeListSubject module) (@INC
contains: /usr/share/perl5 /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1
/usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/lib/x86_64-linux-gnu/perl-base
/usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32
/usr/local/lib/site_perl) at (eval 31) line 1.
Oct 26 14:38:53 bristolmail spamd[121772]: config: failed to parse line,
skipping, in "/etc/spamassassin/w7_whitelist.cf": whitelist_subject
Barstaple House
Oct 26 14:38:53 bristolmail spamd[121772]: config: failed to parse line,
skipping, in "/etc/spamassassin/w7_whitelist.cf": whitelist_subject ST
TERESAS FETE
Oct 26 14:38:54 bristolmail spamd[121772]: zoom: able to use 2/2
'body_500' compiled rules (100%)
Oct 26 14:38:54 bristolmail spamd[121772]: spamd: server started on
IO::Socket::IP [127.0.0.1]:783 (running version 3.4.6)
Oct 26 14:38:54 bristolmail spamd[121772]: spamd: server pid: 121772
Oct 26 14:38:54 bristolmail spamd[121772]: spamd: server successfully
spawned child process, pid 121773
Oct 26 14:38:54 bristolmail spamd[121772]: spamd: server successfully
spawned child process, pid 121774
Oct 26 14:38:54 bristolmail spamd[121772]: prefork: child states: IS
Oct 26 14:38:54 bristolmail spamd[121772]: prefork: child states: II

The last time SA worked (according to postfix logs) was:

Oct 11 04:25:53 bristolmail spamd[9969]: spamd: connection from
127.0.0.1 [127.0.0.1]:45694 to port 783, fd 5
Oct 11 04:25:53 bristolmail spamd[9969]: spamd: processing message
<autogen-java-3e1a0b8a-5bf7-456c-9f9b-f6c5681945be@google.com> for sales:121
Oct 11 04:25:55 bristolmail spamd[9969]: spamd: identified spam
(17.5/5.0) for sales:121 in 1.3 seconds, 14316 bytes.
Oct 11 04:25:55 bristolmail spamd[9969]: spamd: result: Y 17 -
DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,PFSA_AUTH_DKIM_PASS,PFSA_BODY_TINYURL,PFSA_DKIM_PASS,PFSA_DMARC_DKIM_OK,PFSA_DMARC_PASS,PFSA_SPF_PASS,PFSA_SUBJ_LONGISH,PFSA_SUBJ_WEIGHT,PFSA_UTF8_SUBJECT_FREE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,SUBJECT_DIET
scantime=1.3,size=14316,user=sales,uid=121,required_score=5.0,rhost=127.0.0.1,raddr=127.0.0.1,rport=45694,mid=<autogen-java-3e1a0b8a-5bf7-456c-9f9b-f6c5681945be@google.com>,autolearn=disabled,shortcircuit=no
Oct 11 04:25:55 bristolmail spamd[9968]: prefork: child states: II


I can find nothing between these dates.

I would not notice SA failure as the server is currently only for
assessment with no proper users.
Re: Missing Mail::SpamAssassin::Plugin::WelcomeListSubject [ In reply to ]
On 2023-10-26 at 10:14:44 UTC-0400 (Thu, 26 Oct 2023 15:14:44 +0100)
Linkcheck via users <spamassassin@linkcheck.co.uk>
is rumored to have said:

> I have just had reason to run --lint (first time in a week) and it
> failed drastically. This is on an well-established postfix mail server
> (but currently no real users) running 3.4.6 on Perl version 5.32.1 on
> Debian Bullseye. Result of --lint is...
>
> Oct 26 14:39:02.888 [121778] warn: plugin: failed to parse plugin
> (from @INC): Can't locate
> Mail/SpamAssassin/Plugin/WelcomeListSubject.pm in @INC (you may need
> to install the Mail::SpamAssassin::Plugin::WelcomeListSubject module)
> (@INC contains: /usr/share/perl5 /etc/perl
> /usr/local/lib/x86_64-linux-gnu/perl/5.32.1
> /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32
> /usr/lib/x86_64-linux-gnu/perl-base
> /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32
> /usr/local/lib/site_perl) at (eval 109) line 1.

Your SA installation is broken.

WelcomeListSubject is a new module in v4, replacing WhiteListSubject. If
you have anything referencing it in a 3.4.6 installation, you have
something very wrong. The easiest fix is likely to be to remove and
re-install SA.

> with two added comments due to plugin not found.
>
> Reload just perormed gives...
>
[ ... SNIP ... ]

> Oct 26 14:38:53 bristolmail spamd[121772]: config: failed to parse
> line, skipping, in "/etc/spamassassin/w7_whitelist.cf":
> whitelist_subject Barstaple House

Whatever that file is, it is NOT part of the SA distribution. Consult
the author of 'w7_whitelist.cf' for support of whatever configuration it
includes.



--
Bill Cole
bill@scconsult.com or billcole@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire
Re: Missing Mail::SpamAssassin::Plugin::WelcomeListSubject [ In reply to ]
>On 2023-10-26 at 10:14:44 UTC-0400 (Thu, 26 Oct 2023 15:14:44 +0100)
>Linkcheck via users <spamassassin@linkcheck.co.uk>
>is rumored to have said:
>
>>I have just had reason to run --lint (first time in a week) and it
>>failed drastically. This is on an well-established postfix mail
>>server (but currently no real users) running 3.4.6 on Perl version
>>5.32.1 on Debian Bullseye. Result of --lint is...
>>
>>Oct 26 14:39:02.888 [121778] warn: plugin: failed to parse plugin
>>(from @INC): Can't locate
>>Mail/SpamAssassin/Plugin/WelcomeListSubject.pm in @INC (you may need
>>to install the Mail::SpamAssassin::Plugin::WelcomeListSubject
>>module) (@INC contains: /usr/share/perl5 /etc/perl
>>/usr/local/lib/x86_64-linux-gnu/perl/5.32.1
>>/usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32
>>/usr/lib/x86_64-linux-gnu/perl-base
>>/usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32
>>/usr/local/lib/site_perl) at (eval 109) line 1.

On 26.10.23 11:03, Bill Cole wrote:
>Your SA installation is broken.
>
>WelcomeListSubject is a new module in v4, replacing WhiteListSubject.
>If you have anything referencing it in a 3.4.6 installation, you have
>something very wrong. The easiest fix is likely to be to remove and
>re-install SA.

perhaps it's just v310.pre containing

"loadplugin Mail::SpamAssassin::Plugin::WelcomeListSubject"

copied from v4 installation

OP, change it to "loadplugin Mail::SpamAssassin::Plugin::WhiteListSubject"
to see if it helps.


>>with two added comments due to plugin not found.
>>
>>Reload just perormed gives...
>>
>[ ... SNIP ... ]
>
>>Oct 26 14:38:53 bristolmail spamd[121772]: config: failed to parse
>>line, skipping, in "/etc/spamassassin/w7_whitelist.cf":
>>whitelist_subject Barstaple House
>
>Whatever that file is, it is NOT part of the SA distribution. Consult
>the author of 'w7_whitelist.cf' for support of whatever configuration
>it includes.

This only produces error because WelcomeListSubject does not exist and WhiteListSubject
is not installed.
Fixing the error above should fix this as well.

--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Emacs is a complicated operating system without good text editor.
Re: Missing Mail::SpamAssassin::Plugin::WelcomeListSubject [ In reply to ]
On 26/10/2023 4:03 pm, Bill Cole wrote:
> Your SA installation is broken.

Well, I'd guessed that.

> WelcomeListSubject is a new module in v4, replacing WhiteListSubject.

This is 3.4, so it should be referencing the old whitelist module.

If you have anything referencing it in a 3.4.6 installation, you have
> something very wrong. The easiest fix is likely to be to remove and
> re-install SA.

I have reinstalled SA already with no change.

>> Oct 26 14:38:53 bristolmail spamd[121772]: config: failed to parse
>> line, skipping, in "/etc/spamassassin/w7_whitelist.cf":
>> whitelist_subject Barstaple House

> Whatever that file is, it is NOT part of the SA distribution. Consult
> the author of 'w7_whitelist.cf' for support of whatever configuration it
> includes.

I know. That's one of mine.

I have found that v310.pre was modified 11 Oct and now defines
welcomelist not whitelist.

In retrospect I now recall rtying to update white to welcome to bring it
into the official nomenclature (still a stupid change!) - and discovered
I'd wasted considerable time over it because 3.4 couln't cope, despite
continually getting operational warnings about white and welcome. Things
should NOT be altered until updated modules become available! Surely
every programmer knows that. :(

Anyway, thank you for putting me on the right track, Bill.

I am now considering an upgrade to Debian for no other reason than to
accomodate SA v4. :(
Re: Missing Mail::SpamAssassin::Plugin::WelcomeListSubject [ In reply to ]
Thanks, Matus, I'd just realized all that. :(