ClearFoundation Tracker - ClearOS
View Issue Details
0008191ClearOSapp-mail-antispam - Mail Antispampublic2016-04-29 12:402016-06-15 09:09
user2 
user2 
normalminorhave not tried
closedfixed 
7.2.0 
7.2.0 Updates7.2.0 Updates 
0008191: SpamAssassin update gotcha
Chicken: Amavis will refuse to start up if the SpamAssassin rule set is empty:

Apr 29 14:25:33 us31 amavis[31015]: (!!)TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run 'sa-update'?
Apr 29 14:25:33 us31 amavis[31015]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run 'sa-update'?

Egg: the cronjob that updates the SpamAssassin rules won't run unless Amavis (or other related daemons) are running

A user will only run into this problem when a SpamAssassin rule update quits before it is done (e.g. reboot, crash, etc.). Regardless, the permanent solution is to add the following configuration option to /etc/sysconfig/sa-update:

# Run sa-update even if no daemon is detected
SAUPDATE=yes


No tags attached.
Issue History
2016-04-29 12:41user2New Issue
2016-04-29 12:41user2Statusnew => confirmed
2016-04-29 12:41user2Target Version => 7.2.0 Updates
2016-04-29 12:43user2Description Updatedbug_revision_view_page.php?rev_id=901#r901
2016-04-29 19:04user2Statusconfirmed => resolved
2016-04-29 19:04user2Fixed in Version => 7.2.0 Updates
2016-04-29 19:04user2Resolutionopen => fixed
2016-04-29 19:04user2Assigned To => user2
2016-06-15 09:09user2Statusresolved => closed

There are no notes attached to this issue.