Hi again,

> Just checked my messages file:
>
> Nov  8 22:41:02 legolas clamd[17925]:
> /var/spool/qmailscan/tmp/host.dom.dk109995004468018138/Four
> Parachutes.pps:
> Unable to open file or directory ERROR
>
> Could there be a problem, if the filename of an attachment contains spaces
> ???
>
> Anyway, doing a "ls -l" in the /var/spool/qmailscan/tmp dir gave me:
>
> drwx------    2 qscand   vchkpw       4096 Nov  8 22:50
> host.dom.dk109995062968019170
>
> Why does it use the wrong group - what causes it to set the wrong group ?
> This might be the actual problem....

I did a debug-log of the problem:

Mon, 08 Nov 2004 23:26:24 CET:28742: +++ starting debugging for process
28742 by uid=81
Mon, 08 Nov 2004 23:26:24 CET:28742: setting UID to EUID so subprocesses can
access files generated by this script
Mon, 08 Nov 2004 23:26:24 CET:28742: program name is qmail-scanner-queue.pl,
version 1.24st
Mon, 08 Nov 2004 23:26:24 CET:28742: incoming SMTP connection from via SMTP
from 62.242.9.138
Mon, 08 Nov 2004 23:26:24 CET:28742: w_c: mkdir
/var/spool/qmailscan/tmp/legolas.pitweb.dk109995278468028742
Mon, 08 Nov 2004 23:26:24 CET:28742: w_c: start dumping incoming msg into
/var/spool/qmailscan/working/tmp/legolas.pitweb.dk109995278468028742
[0.00088]
Mon, 08 Nov 2004 23:26:24 CET:28742: c_a_g: found MIME attachment
Mon, 08 Nov 2004 23:26:24 CET:28742: w_c: primary Content-Type of
multipart/mixed found
Mon, 08 Nov 2004 23:26:24 CET:28742: w_c: found a top-level boundary
definition of \-\-\-\-\=_NextPart_000_0057_01C4C5AA\.A25D4430
Mon, 08 Nov 2004 23:26:24 CET:28742: w_c: attachment  1: Content-Type of
text/plain found
Mon, 08 Nov 2004 23:26:24 CET:28742: found C-T attachment filename
winmail.dat
Mon, 08 Nov 2004 23:26:24 CET:28742: w_c: attachment  2: Content-Type of
application/ms-tnef found
Mon, 08 Nov 2004 23:26:42 CET:28742: w_c: rename new msg from
/var/spool/qmailscan/working/tmp/legolas.pitweb.dk109995278468028742 to
/var/spool/qmailscan/working/new/legolas.pitweb.dk109995278468028742
[17.665268]
Mon, 08 Nov 2004 23:26:42 CET:28742: d_m: starting
usr/bin/reformime  -x/var/spool/qmailscan/tmp/legolas.pitweb.dk1099952784680
28742/ </var/spool/qmailscan/working/new/legolas.pitweb.dk109995278468028742
[0.000327]
Mon, 08 Nov 2004 23:26:42 CET:28742: d_m: finished
usr/bin/reformime  -x/var/spool/qmailscan/tmp/legolas.pitweb.dk1099952784680
28742/ [0.050814]
Mon, 08 Nov 2004 23:26:42 CET:28742: d_m: Checking all attachments to see if
they're MS-TNEF
Mon, 08 Nov 2004 23:26:42 CET:28742: d_m: is
/var/spool/qmailscan/tmp/legolas.pitweb.dk109995278468028742/1099952802.2878
9-0.legolas.pitweb.dk is a TNEF file?: 256 [0.0034]
Mon, 08 Nov 2004 23:26:42 CET:28742: d_m: is
/var/spool/qmailscan/tmp/legolas.pitweb.dk109995278468028742/winmail.dat is
a TNEF file?: 0 [0.015436]
Mon, 08 Nov 2004 23:26:42 CET:28742: d_m: unpacking message took 0.069861
seconds
Mon, 08 Nov 2004 23:26:42 CET:28742: unsetting QMAILQUEUE env var
Mon, 08 Nov 2004 23:26:42 CET:28742: g_e_h: return-path is
"[EMAIL PROTECTED]", recips is "[EMAIL PROTECTED]"
Mon, 08 Nov 2004 23:26:42 CET:28742: from=Brian Ipsen
<[EMAIL PROTECTED]>,subj=FW: Hvem flyver en tur
med Nyrup???,
x-qmail-scanner-message-id=<[EMAIL PROTECTED]
k> via SMTP from 62.242.9.138
Mon, 08 Nov 2004 23:26:42 CET:28742: s_p_d: reading from
/var/spool/qmailscan/scanners_per_domain.db
Mon, 08 Nov 2004 23:26:42 CET:28742: s_p_d: no match, falling to the
scanners_default
Mon, 08 Nov 2004 23:26:42 CET:28742: ini_sc: start scanning
Mon, 08 Nov 2004 23:26:42 CET:28742: ini_sc: recursively scan the directory
/var/spool/qmailscan/tmp/legolas.pitweb.dk109995278468028742/
Mon, 08 Nov 2004 23:26:42 CET:28742: scanloop: starting scan of directory
"/var/spool/qmailscan/tmp/legolas.pitweb.dk109995278468028742"...
Mon, 08 Nov 2004 23:26:42 CET:28742: scanloop:
scanner=clamdscan_scanner,plain_text_msg=0
Mon, 08 Nov 2004 23:26:42 CET:28742: clamdscan: starting scan of directory
"/var/spool/qmailscan/tmp/legolas.pitweb.dk109995278468028742"...
Mon, 08 Nov 2004 23:26:42 CET:28742: run /usr/bin/clamdscan --no-summary
/var/spool/qmailscan/tmp/legolas.pitweb.dk109995278468028742 2>&1
Mon, 08 Nov 2004 23:26:43 CET:28742: --output of clamdscan was:
/var/spool/qmailscan/tmp/legolas.pitweb.dk109995278468028742/Four
Parachutes.pps: Unable to open file or directory ERROR
/var/spool/qmailscan/tmp/legolas.pitweb.dk109995278468028742: OK
--
Mon, 08 Nov 2004 23:26:43 CET:28742: error_condition:
X-Qmail-Scanner-1.24st: clamdscan: corrupt or unknown clamd scanner error or
memory/resource/perms problem - exit status 512/2
Mon, 08 Nov 2004 23:26:43 CET:28742: cleanup: /bin/rm -rf
/var/spool/qmailscan/tmp/legolas.pitweb.dk109995278468028742/
/var/spool/qmailscan/working/new/legolas.pitweb.dk109995278468028742
Mon, 08 Nov 2004 23:26:43 CET:28742: --- all finished. Total of 18.317189
secs

As far as I can see, something might be going wrong where reformime is
unpacking fra the working/new catalog to the tmp catalog - because I never
see the file in the created folder in the tmp catalog....

Anyone ?

/Brian


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to