Re: getting the daily learning cronjob right

2015-11-20 Thread Bowie Bailey
On 11/20/2015 1:06 AM, Eric Abrahamsen wrote: So my only other question is: does the "-u" option to spamc *only* control the user that the spamc process runs as? Or does it interact with the --virtual-user-config spamd option in any other way? spamc's "-u" option passes the

Re: getting the daily learning cronjob right

2015-11-20 Thread RW
On Fri, 20 Nov 2015 12:31:01 -0500 Bowie Bailey wrote: > On 11/20/2015 1:06 AM, Eric Abrahamsen wrote: > > So my only other question is: does the "-u" option to spamc *only* > > control the user that the spamc process runs as? Or does it interact > > with the --virtual-user-config spamd option in

Re: ClamAV.pm Plugin Not Working

2015-11-20 Thread dans
I set selinux to permissive and the same error persists. So we can rule out selinux. clamdscan -c /etc/clamd.d/scan.conf eicar.txt /home/dan/eicar.txt: lstat() failed: Permission denied. ERROR --- SCAN SUMMARY --- Infected files: 0 Total errors: 1 Time: 0.001 sec (0 m 0 s) Also

Re: ClamAV.pm Plugin Not Working

2015-11-20 Thread John Hardin
On Fri, 20 Nov 2015, Kevin A. McGrail wrote: What user is clamd running as because why would it have access to /home/dan? Overall you appear to have a basic clamd functionality issue. If it *is* a problem with clamd functionality, I'd suggest there's still a bug in SA. It should not be

Re: ClamAV.pm Plugin Not Working

2015-11-20 Thread Kevin A. McGrail
What user is clamd running as because why would it have access to /home/dan? Overall you appear to have a basic clamd functionality issue. Regards, KAM On November 20, 2015 8:08:55 PM EST, dans wrote: >I set selinux to permissive and the same error persists. So we can >rule

Re: ClamAV.pm Plugin Not Working

2015-11-20 Thread Dave Wreski
clamdscan -c /etc/clamd.d/scan.conf eicar.txt /home/dan/eicar.txt: lstat() failed: Permission denied. ERROR It looks to be related to clamdscan performing a chroot() and the files you're referencing not being available from within that chroot. Try passing the --stream option. -bash-4.3$