SOLVED: Mail server error: rspamd

Today I experienced that I could not send or receive emails.
I found that rspamd service failed to start with the following:

Started rspamd.service - rapid spam filtering system.
2024-08-01 09:00:30 #5937(main) <88b437>; main; main: rspamd 3.4 is loading configuration, build id: release
2024-08-01 09:00:30 #5937(main) cfg; rspamd_config_read: failed to load config: ucl parser error: cannot open file /etc/rspamd/local.d/freedombox-milter-headers.conf: No such file or directory
rspamd.service: Main process exited, code=exited, status=1/FAILURE
rspamd.service: Failed with result 'exit-code'.
rspamd.service: Scheduled restart job, restart counter is at 6.
Stopped rspamd.service - rapid spam filtering system.
rspamd.service: Start request repeated too quickly.
rspamd.service: Failed with result 'exit-code'.
Failed to start rspamd.service - rapid spam filtering system.
1 Like

restoring the service saved the day

1 Like

Did you restart the service or restore from backup?

Restarting the service hadn’t any effect (the problem remained). I needed to restore the service from backup.