View previous topic :: View next topic |
Author |
Message |
oVeRFLoW n00b
Joined: 02 Oct 2003 Posts: 29 Location: Oviedo, AS, Spain
|
Posted: Sun Sep 25, 2005 9:08 pm Post subject: amavis + clamd behaving strangely |
|
|
Sep 25 22:55:11 [amavis] (22892-01) ask_av (ClamAV-clamd) FAILED - unexpected result: /var/amavis/tmp/amavis-20050925T225511-22892/parts: Access denied. ERROR
I've tried including clamav in amavis group, but that didn't solve it. I'm sure it is a stupid minimal thing, but i don't figure it out...
Thanks in advance
Alonso 2k5 f1 world champion! |
|
Back to top |
|
|
Kruegi Guru
Joined: 09 Feb 2005 Posts: 406 Location: Clausthal-Zellerfeld; DE
|
Posted: Mon Sep 26, 2005 11:50 am Post subject: |
|
|
You will have to run clamd under the same user (not only group) than amavis.
Alter your /etc/clamd.conf to run as amavis.
Thomas |
|
Back to top |
|
|
oVeRFLoW n00b
Joined: 02 Oct 2003 Posts: 29 Location: Oviedo, AS, Spain
|
Posted: Thu Sep 29, 2005 7:23 pm Post subject: |
|
|
Seems to be working like a charm. I didnt want to change the user under clamav was running to avoid potential exploits.
Thanks |
|
Back to top |
|
|
Shazam Apprentice
Joined: 23 Nov 2004 Posts: 191 Location: Germany
|
Posted: Sun May 28, 2006 12:44 pm Post subject: |
|
|
i get the same error, however, changing the user from clamav to amavis doesnt' work, because then i can't start clamd. any ideas? |
|
Back to top |
|
|
das.Sams n00b
Joined: 12 Dec 2005 Posts: 19 Location: Karlsruhe, Germany
|
Posted: Fri Jul 28, 2006 9:05 pm Post subject: rights of clamav folder |
|
|
...the rights of /var/run/clamav might not be right.
on my system they were clamav:clamav - changed them to amavis:clamav solved the problem.
m |
|
Back to top |
|
|
TWolf n00b
Joined: 12 Jul 2002 Posts: 45 Location: Netherlands
|
Posted: Fri Dec 22, 2006 1:50 pm Post subject: |
|
|
On my system it worked when I changed this:
- clamd is running as user clamav
- amavis is running as user amavis
- I set the rights of /var/run/clamav from clamav:clamav to amavis:clamav
and
- I set the rights of /var/amavis/tmp from clamav:clamav to amavis:clamav _________________ Dutch Anime & Manga @ www.AniWay.nl |
|
Back to top |
|
|
|