Problem: After a minor update the mailq fills up

Problem:

After a minor update the mailq filles up. The server was rebooted after the update, but the amavis service was not started.
The logfile /var/log/mail.log contains the error message:

Jan 3 11:20:43 server amavis[14658]: (!!)TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run ‘sa-update’?
Jan 3 11:20:43 server amavis[14658]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run ‘sa-update’?

Solution:

In this case it was enough to run the sa-update command. Amavis could start after that and the mailq was pushed with a postqueue -f command

sa-update
systemctl start amavis.service
postqueue -f
1 Like
Mastodon