docker-kolab icon indicating copy to clipboard operation
docker-kolab copied to clipboard

amavis fails on startup until sa-update has been run

Open kevinbader opened this issue 8 years ago • 3 comments

amavis[1844]: (!!)TROUBLE in pre_loop_hook: config: no rules were found!  Do you need to run 'sa-update'?

It would probably be good to execute sa-update during startup.... what do you think?

kevinbader avatar Feb 10 '17 12:02 kevinbader

Is it work after sa-update? I think I will add new service, like set_spam_sieve.service, to update spamassin every certain time.

kvaps avatar Feb 10 '17 13:02 kvaps

At least the TROUBLE message has gone away after sa-update -- since Cyrus is not running yet for me, I haven't tested if Amavis is actually doing anything. Having a .service along with a .timer that periodically triggers the update seems like a good idea.

kevinbader avatar Feb 11 '17 02:02 kevinbader

Hmm, using systemd timers - it is good idea, thanks! I will add this feature a little bit later, I think next week.

Cyrus is ok, guam has error, it is new imap proxy.

kvaps avatar Feb 11 '17 07:02 kvaps