At 19:53 +0000 18-02-2004, Mark Pratt wrote:
At 08:42 18/02/2004, Salvatore Toribio wrote:
At 2:39 +0000 18-02-2004, Mark Pratt wrote:
At 08:11 16/02/2004, Salvatore Toribio wrote:
At 12:23 +1300 16-02-2004, Jason Haar wrote:
On Sun, Feb 15, 2004 at 10:40:53PM +0000, Mark Pratt wrote:
When I run sophie (and ClamAV) as the user qscand, I receive the message as
shown below. If I run Sophie as root, the processing completes as normal
and the message is delivered. What appears to be happening is that the
message is dropped into a directory under /var/spool/qmailscan/tmp/ which
is chown-ed by root.qmail and chmod 700. Obviously, poor old qscand does
not have access to this directory and the scan fails.

You have a horribly broken install then.


Since when would Q-S *EVER* be doing anything as root!!!!



Inside the qmail-scanner directory everything is owned by the user running "qmail-scanner-queue.pl", so something is creating that file owned by root. Check what Jason said: What are the privileges of "/usr/local/bin/reformime"? If it is "suid" root, then this will be the reasson.



I do not have Qmail-Toaster installed and reformime has been reinstalled from source Owner is root.bin and privs are 0711. I have even reinstalled Qmail and Qmail Scanner (st) but the problem still persists. /var/spool/qmailscan/tmp/ is owned by qscand. The same error occurs if I send a plain text e-mail (a copy of your reply in fact) as this should not use reformime at all???



Hi Mark


This is really strange, so I have some questions:

How are you starting up qmail, and how do you call qmail-scanner?

Does qmail-scanner-queue.pl looks like this:

-rwsr-xr-x 1 qscand qscand 95007 Feb 10 18:21 /var/qmail/bin/qmail-scanner-queue.pl

Who is the owner of /var/spool/qmailscan/qmail-queue.log?

Regards

Salvatore


------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to