spamassassin stopped working

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

spamassassin stopped working

Postby jiml8 » Mar 8th, '16, 18:54

Last night, an update came through for spamassassin. After the patch, spamassassin no longer worked.

I checked the filter definitions in kmail, and discovered that the rule "spamassassin check" no longer was piping messages through /bin/spamassassin, but now was piping them through /home/jiml/spamassassin.

This, of course, is wrong. I checked other filters that invoke various commands and found that in all cases those commands were listed by full path and pointing to my home directory rather than /bin.

I have made the requisite changes manually, but this obviously is an error in the update.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: spamassassin stopped working

Postby jiml8 » Mar 8th, '16, 19:07

As a followup on this, spamassassin is now being invoked, but it is not finding any rules. Everything is passing with a spam value of 0.0.

Now I have to find the rules and figure out what has happened...
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: spamassassin stopped working

Postby jkerr82508 » Mar 8th, '16, 21:05

Perhaps not the cause of your problem, but a necessary update to perl-Net-DNS has not been pushed yet. You can get it from updates_testing:
https://bugs.mageia.org/show_bug.cgi?id=16308

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: spamassassin stopped working

Postby doktor5000 » Mar 8th, '16, 21:08

Check https://bugs.mageia.org/show_bug.cgi?id=16308#c20 - the advisory was missing perl-Net-DNS so this didn't get pushed yet as an update.
You could already install it from core/updates_testing and check if it fixes your issue.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: spamassassin stopped working

Postby jiml8 » Mar 8th, '16, 23:31

I decided I did not have time to fool with this, so I rolled it back. Did that by moving the directory in the perl environment aside and copying the old version back into place from a backup. Did the same thing with /bin/spamassassin. So now it works again.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: spamassassin stopped working

Postby doktor5000 » Mar 9th, '16, 00:25

Just FWIW you can also use urpmi --dowgrade for that, you only need to specify the version to which you want to downgrade.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: spamassassin stopped working

Postby doktor5000 » Mar 10th, '16, 20:21

perl-Net-DNS was pushed too, you could try again now.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest