On Thu, Jun 24, 2004 at 08:45:08AM -0400, Ace Suares said: > Hi, > > I installed clamav on Debian Woody with Qmail-Scanner. I used the debian > package from deb http://people.debian.org/~sgran/debian > > So far so good, but since qmail-scanner runs as user qscand and clamd runs as > clamd, clam can not write files in the working dir (something like /var/ > spool/qmailscan.) > > I found a link that suggested changing the 'user' in clamav.conf to qscand.
Take a look at /usr/share/doc/clamav-base/README.Debian. The suggested fix for this sort of thing is to leave clamav running as clamav, but to add it to the group qscand, and make sure AllowSupplementaryGroups is set in clamav.conf. Then you don't have nearly so many hoops to jump through. You also get the side benefit that a bug in clamav doesn't eat an email, and a bug in qmail doesn't eat your logs, or your database files. They're still running as seperate users, but clamav just has access to qmail's files. HTH, -- -------------------------------------------------------------------------- | Stephen Gran | Preudhomme's Law of Window Cleaning: | | [EMAIL PROTECTED] | It's on the other side. | | http://www.lobefin.net/~steve | | --------------------------------------------------------------------------
pgp10VFeQh9Rw.pgp
Description: PGP signature
