We are getting these errors on our UCS Mail Servers

We are getting this error on both our Primary and Secondary UCS Mail Servers. I am not finding any solution:

Job for spamassassin.service failed. See 'systemctl status spamassassin.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript spamassassin, action "reload" failed.
touch: cannot touch '/var/lib/amavis/.spamassassin/bayes_toks': No such file or directory
chown: invalid user: 'amavis:amavis'
chmod: cannot access '/var/lib/amavis/.spamassassin/bayes_toks': No such file or directory

Any suggestions

Hey @BEBConsulting,

could you please add some information on your UCS systems (at least version and installed components)?
I prefer the output of univention-app info :slight_smile:

Best regards,
Michael Grandjean

Here is the output Primary Mail Server:
UCS: 4.3-0 errata3
Installed: kde=5.8 mailserver=12.0

Secondary Mail Server:
root@bebucsmailsvrp4:~# univention-app info
UCS: 4.3-0 errata3
Installed: kde=5.8 mailserver=12.0

These are our Main Email Servers for our Company Domains.

Just making a bump on this…any suggestions?


please make sure that the Amavis package is still installed & post the output of: dpkg -l amavisd-new

Next make sure that the directory /var/lib/amavis exists. It should have the following owner & permissions:

  • Owner & group: amavis
  • Permissions: rwxr-xr-x or 0755 as the numerical value

Kind regards,

Ok, Looks like it is NOT installed…

root@bebucsmailsvrp4:~# dpkg -l amavisd-new
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                                  Version                         Architecture                    Description
un  amavisd-new                                           <none>                          <none>                          (no description available)
root@bebucsmailsvrp4:~# cd /var/lib/amavis
-bash: cd: /var/lib/amavis: No such file or directory

So are there detailed instructions on installing this in UCS, I am googling it and not finding much.