Re: clamdscan
Jim Maul <[email protected]>
| Newsgroups | gmane.mail.qmail.scanner |
|---|---|
| Organization | Eastern Long Island Hospital |
| Message-ID | <[email protected]> |
Cristina Tanzi Tolenti wrote: > Hi, > > I install qmail-scanner-2.01st + clamav 0.88.2 and I would like to use > CLAMDSCAN as scanner. > Clamd runs as clamav user so I add clamav to group qscand as I found in > the CHANGES file (.... > > * Changed setuid to 6755 - ie it's now setuid and setgid. Forcing > all files to > be group qscand will allow those who wish to do so to keep their > AV daemons > running as other accounts. They just need to ensure those daemons > are members > of the qscand group - and as such should be able to read the > necessary files. > e.g. clamd could run as "clamav", but as long as account "clamav" > is a member > of group "qscand", clamd is able to read the mail enough to scan it > .....) > > but I have this error: > clamdscan: corrupt or unknown clamd scanner error or > memory/resource/perms problem > > Now clamd runs as qscand user but I don't like it, there is another > solution?? > Yeah, the solution is to have it correctly run as the clamav user. Did you add clamav to the qscand group? Are the permissions of ALL directories clamav uses owned by the clamav user (log files, database directory, etc..)? -Jim ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642