[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qmail-scanner-general
Subject:    [Qmail-scanner-general]Bad error. qmail-inject died
From:       "R.Md.Munibuddin" <rmdmunib () indofuji ! com>
Date:       2005-03-10 9:57:32
Message-ID: 014101c52558$e5f537d0$5201a8c0 () indoad ! indofuji ! com
[Download RAW message or body]

Hi,
     I am using qmail installed thro toaster RPMs with Spam
Assassin,ClamAV, qmail-scanner. After installing and configuring
qmail-scanner as per instructions in www.qmailrocks.org's INSTALL
guide, if I run the testscript, I get the following error.
 contrib]# ./test_installation.sh -doit
        QMAILQUEUE was not set, defaulting to
        /var/qmail/bin/qmail-scanner-queue.pl for this test...
         
        Sending standard test message - no viruses...
        qmail-inject: fatal: qq temporary problem (#4.3.0)
        Bad error. qmail-inject died

In the /var/log/mail/error file and the 
/var/spool/qmailscan/qmail-queue.log file I see the following error.

Mar  9 16:56:42 mail X-Antivirus-MYDOMAIN-1.24-st-qms:
[mail.test.com11104054027605436] owner of unpacked file
"/var/spool/qmailscan/tmp/mail.test.com11104054027605436/1110405402.5438-0.mail.test.com"
(uid=0) doesn't match UID of Qmail-Scanner (uid=503) - can't expect
this to work. Fix whatever is creating files with uid=0

When I check the permissions of the file, it is as below
-rw-------    1 root     qmail          68 Mar  9 16:56
1110405402.5438-0.mail.test.com

Somebody please help me understand where I am wrong, which process
actually creates these files under /var/spool/qmailscan/tmp. What I
have to do to make the UID of these files to be of qmail-scanner's
UID.

Regards,
Munib

[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1491" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" 
size=3>Hi,<BR>&nbsp;&nbsp;&nbsp;&nbsp; I am using qmail installed thro toaster 
RPMs with Spam<BR>Assassin,ClamAV, qmail-scanner. After installing and 
configuring<BR>qmail-scanner as per instructions in </FONT><A 
href="http://www.qmailrocks.org's"><FONT face="Times New Roman" 
size=3>www.qmailrocks.org's</FONT></A><FONT face="Times New Roman" size=3> 
INSTALL<BR>guide, if I run the testscript, I get the following 
error.<BR>&nbsp;contrib]# ./test_installation.sh 
-doit<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QMAILQUEUE was not set, 
defaulting to<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
/var/qmail/bin/qmail-scanner-queue.pl for this 
test...<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sending standard test message - 
no viruses...<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; qmail-inject: fatal: 
qq temporary problem (#4.3.0)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bad 
error. qmail-inject died<BR><BR>In the /var/log/mail/error file and the 
<BR>/var/spool/qmailscan/qmail-queue.log file I see the following 
error.<BR></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>Mar&nbsp; 9 
16:56:42 mail 
X-Antivirus-MYDOMAIN-1.24-st-qms:<BR>[mail.test.com11104054027605436] owner of 
unpacked 
file<BR>"/var/spool/qmailscan/tmp/mail.test.com11104054027605436/1110405402.5438-0.mail.test.com"<BR>(uid=0) \
 doesn't match UID of Qmail-Scanner (uid=503) - can't expect<BR>this to work. Fix 
whatever is creating files with uid=0<BR><BR>When I check the permissions of the 
file, it is as below<BR>-rw-------&nbsp;&nbsp;&nbsp; 1 
root&nbsp;&nbsp;&nbsp;&nbsp; 
qmail&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 68 Mar&nbsp; 9 
16:56<BR>1110405402.5438-0.mail.test.com</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3><BR>Somebody 
please help me understand where I am wrong, which process<BR>actually creates 
these files under /var/spool/qmailscan/tmp. What I<BR>have to do to make the UID 
of these files to be of 
qmail-scanner's<BR>UID.<BR><BR>Regards,<BR>Munib</FONT><BR></DIV></FONT></BODY></HTML>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic