Hi all

I found in this forum many people that told about my problem. So I try to fix it as in the reply post but without success.

I Installed Q-S 1.25 in my mandrake 10.1 with perl 5.8.5. I compiled maildrop-1.8.0 with the --enable-maildrop-uid=qscand option and everything went ok.

when i compile Q-S 1.25 all went ok. but when I run ./contrib/test_installation.sh i recive a 430qq error

and in qmail-queue.log i find this error

Sat, 05 Mar 2005 21:53:01 CET:12590: error_condition: X-Qmail-Scanner-1.25: owner of unpacked file "/var/spool/qmailscan/tmp/rayfw.rayberndston.it111005598149312590/11100559
81.12592-0.rayfw.rayberndston.it" (uid=0) doesn't match UID of Qmail-Scanner (uid=500) - can't expect this to work. Fix whatever is creating files with uid=0

First o f all I checked the permission in /var/spool/qmailscan/ and it is qscand:qscand as in subdirs (to be sure I forced with chown -R qscand:qscand without success)

in second stage I modify the clamd user in Clamd.conf file using qscand.

Now clamd and spamassassin works. Q-S 1.25 works only if I change the ownership in root:root (and not qscand:qscnad) and i run clamdscan as root (modifing clamd.conf file)

How can I fix this perms problem? I can't use Q-S 1.25 as root, I think it is a security hole, isn't it? please help me.

Luca

Reply via email to