We are getting these errors on our UCS Mail Servers

mail
mailserver

#1

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

/etc/cron.daily/spamassassin:
Job for spamassassin.service failed. See 'systemctl status spamassassin.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript spamassassin, action "reload" failed.
/etc/cron.daily/univention-spamassassin:
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


#2

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


#3
Here is the output Primary Mail Server:
UCS: 4.3-0 errata3
Installed: kde=5.8 mailserver=12.0
Upgradable:
root@bebucsmailsvrp3:~

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

These are our Main Email Servers for our Company Domains.


#4

Just making a bump on this…any suggestions?


#5

Hey,

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,
mosu


#6

Ok, Looks like it is NOT installed…

root@bebucsmailsvrp4:~# dpkg -l amavisd-new
Desired=Unknown/Install/Remove/Purge/Hold
| 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.

Thanks!