Re: [AMaViS-user] ot: clamd lstat failed

2007-10-30 Thread Mark Martinec
Voytek, I just went to check and, guess what, errors stopped since Oct 29 at 22:18, and, now all's well. perhaps I didn't reload deamons after I altered to give group xrw...? Good. The rx access should suffice, there is no need to give clamd write access to amavisd temporary directories or

Re: [AMaViS-user] ot: clamd lstat failed

2007-10-29 Thread Mark Martinec
# groups clamav clamav : clamav amavis It's the other way around: amavis:*:110:clamav Oops, sorry, you showed the optput of 'groups' command, not a line in /etc/groups. Seems you have it correctly. Perhaps you are missing the AllowSupplementaryGroups yes in clamd.conf. Mark

Re: [AMaViS-user] ot: clamd lstat failed

2007-10-29 Thread Mark Martinec
Voytek, I'm trying to install amavisd-new and clamav on a new Centos 4.x server, they both seem to run OK, but, I see 'lstat() failed' in the maillog: is that because clamd needs permissions to /var/amavis/tmp/ ? I tried : chmod -R 0770 /var/amavis/tmp but it didn't help # groups clamav

Re: [AMaViS-user] ot: clamd lstat failed

2007-10-29 Thread Voytek Eymont
On Mon, October 29, 2007 9:20 pm, Mark Martinec wrote: # groups clamav clamav : clamav amavis It's the other way around: amavis:*:110:clamav Oops, sorry, you showed the optput of 'groups' command, not a line in /etc/groups. Seems you have it correctly. Perhaps you are missing the

Re: [AMaViS-user] ot: clamd lstat failed

2007-10-29 Thread Mark Martinec
Voytek, # grep Allow /etc/clamd.conf AllowSupplementaryGroups yes # grep clam /etc/group clamav:x:105:clamav amavis:x:106:clamav (15307-03) (!!)ask_av (ClamAV-clamd) FAILED - unexpected result: /var/amavis/tmp/amavis-20071029T132434-15307/parts: lstat() failed. ERROR\n Looks fine. I

Re: [AMaViS-user] ot: clamd lstat failed

2007-10-29 Thread Voytek Eymont
On Tue, October 30, 2007 11:16 am, Mark Martinec wrote: Looks fine. I don't know why clamd can't read files in directory /var/amavis/tmp/amavis-20071029T132434-15307/parts/ . Just in case please check the protection of each directory in the path - all the directories from /, /var, ... to the

[AMaViS-user] ot: clamd lstat failed

2007-10-28 Thread Voytek Eymont
I'm trying to install amavisd-new and clamav on a new Centos 4.x server, they both seem to run OK, but, I see 'lstat() failed' in the maillog: is that because clamd needs permissions to /var/amavis/tmp/ ? I tried : chmod -R 0770 /var/amavis/tmp but it didn't help # groups clamav clamav :