Spamassassin & Amavisd borked today
Today around 11am GMT we have experienced a problem where amavisd is unable to start (constantly trying to respawn):
(org.amavis.amavisd): Service exited with abnormal code: 255
(org.amavis.amavisd): Service only ran for 1 seconds. Pushing respawn out by 9 seconds.
All our mail is getting deffered unless I turn off Filtering in Server Admin.
I think I've traced it down to a problem with spamassassin not being able to download rules correctly:
(!!)TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run 'sa-update'?
Suicide () TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run 'sa-update'?
I've tried running "sa-update --no-gpg" but it brings back:
textcat: languages filename not defined
Use of uninitialized value $results[0] in hash element at /Applications/Server.app/Contents/ServerRoot/System/Library/Perl/Extras/5.18/Ma il/SpamAssassin/Plugin/TextCat.pm line 423.
Use of uninitialized value $answers[0] in join or string at /Applications/Server.app/Contents/ServerRoot/System/Library/Perl/Extras/5.18/Ma il/SpamAssassin/Plugin/TextCat.pm line 434.
Use of uninitialized value $matches[0] in join or string at /Applications/Server.app/Contents/ServerRoot/System/Library/Perl/Extras/5.18/Ma il/SpamAssassin/Plugin/TextCat.pm line 518.
textcat: languages filename not defined
Use of uninitialized value $results[0] in hash element at /Applications/Server.app/Contents/ServerRoot/System/Library/Perl/Extras/5.18/Ma il/SpamAssassin/Plugin/TextCat.pm line 423.
Use of uninitialized value $answers[0] in join or string at /Applications/Server.app/Contents/ServerRoot/System/Library/Perl/Extras/5.18/Ma il/SpamAssassin/Plugin/TextCat.pm line 434.
Use of uninitialized value $matches[0] in join or string at /Applications/Server.app/Contents/ServerRoot/System/Library/Perl/Extras/5.18/Ma il/SpamAssassin/Plugin/TextCat.pm line 518.
rules: failed to run FORGED_GMAIL_RCVD test, skipping:
(Can't locate object method "check_for_forged_gmail_received_headers" via package "Mail::SpamAssassin::PerMsgStatus" at (eval 1310) line 305.
)
channel: lint check of update failed, channel failed
A quick google search reveals the bug is acknowledged at spamassassin/apache:
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7540
What I don't know is how to fix this and why the **** amavisd just crashes and deffers mail if spamassassin can't find it's rules - I'm losing mail because of a downstream supplier??
OS X Server