0 votes
Hi, All.

Wrestling with a COS6 box running gateway and Zarafa community. Around 6am 9/25 local the box started throwing amavis errors. Load was at 20 and responding very sluggishly. Restarting services and finally a reboot. Load would increase again. Mail queue shows 100 messages with (delivery temporarily suspended: connect to[]:10024: Connection refused). yum removed clamd and reinstalled from Market Place. Noticed I was never able to selet Gateway AV but it was not indicated as installed. yum remove and installs look over 30 minutes to do each time. Finally uninstalled everything I could find related to amavis and spamassassin but must be missing something as top indicated amavisd was running. even after disabling Zarafa services, and SMTP and removing those packages.

Now have a box that passes mail but the messages in queue still there. Starting Mail Antispam starts amavisd and maillog is full of .....

Sep 25 11:04:18 mail amavis[23368]: (!)Net::Server: 2020/09/25-11:04:18 Couldn't open lock file "/var/lib/amavis/amavisd.lock"[Permission denied]\n at line 177 in file /usr/share/perl5/vendor_perl/Net/Server/

Checked permissions against other working COS6 boxes, not found anything yet. Hunted this forum and others and tried several things but I'm at a loss as to where to go next.

Any help appreciated.
Friday, September 25 2020, 04:19 PM
Share this post:

Accepted Answer

Friday, September 25 2020, 04:51 PM - #Permalink
0 votes
I don't have a 6.x installation with mail, but on 7.x, /var/lib/amavis/amavisd.lock is owned by amavis:amavis with permissions of 0640.

Note that removing clamav would have removed a whole bunch of packages so you may have removed more than you intended. The Gateway AV only works with the Proxy. If you don't use the proxy, there is no point installing the Gateway AV.

Also note that 6.x went End of Life a year ago and you really ought to be looking to upgrade to 7.x.
The reply is currently minimized Show
Responses (1)
  • Accepted Answer

    Tuesday, September 29 2020, 04:16 PM - #Permalink
    0 votes
    That was it, Nick! Both it and /var/lib/amavis/var/.spamassissin had 297[297] as the owner. I've got it checking the mail queue now. Thanks for the help.
    The reply is currently minimized Show
Your Reply