Amavis error

Hi All…

I have installed Ubuntu 16.04 onto my Linode. And following the "Howto" I installed Dovecot and Postfix to run it as an email server. Everything works OK.

To add filtering for spam and virus, I followed a Howto for Ubuntu 12.04. Everything installed OK. But I get this error when processing the emails.

amavis[19074]: (19074-01) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/lib/amavis/tmp/amavis-20160717T130406-19074-3poWQUhD/parts: lstat() failed: Permission denied. ERROR\n"

amavis[19074]: (19074-01) (!)ClamAV-clamd av-scanner FAILED: CODE(0x499a7e0) unexpected , output="/var/lib/amavis/tmp/amavis-20160717T130406-19074-3poWQUhD/parts: lstat() failed: Permission denied. ERROR\n" at (eval 100) line 905.

amavis[19074]: (19074-01) (!)WARN: all primary virus scanners failed, considering backups

Any ideas on this one…???

Cheers..!!!

1 Reply

Hello SpeedFreak,

It looks like you don't have the right permissions to proceed. I'd say you may want to take a look into the user and making sure it's in the amavis group - you can see some solutions here:

http://askubuntu.com/questions/604446/h … for-clamav">http://askubuntu.com/questions/604446/how-to-fix-amvavis-reporting-permission-denied-for-clamav

I hope this helps!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct