; On Wed, 2004-10-20 at 16:33, Grant Supp wrote:
;
; > It seems to happen when scanning the same files. "Untitled Attachment" seems to
cause the problem evey time. I think this attachment might be generated by Outlook
2003 when assigning a task to a user, although I'm not sure, since I don't have a copy
of Outlook 2003. I see several lines with the error for "Order - Hearing and
Appeal.pdf" so that file seems to be a problem as well. I've already disabled OLE2
support since I was having this same problem a lot with Microsoft Word .doc files.
; > I even got one today with a gif file:
; > Wed Oct 20 09:27:51 2004 ->
/var/spool/qmailscan/tmp/newmail01.readyhosting.com10982824714822434/image001.gif:
Unable to open file or directory ERROR
; > Here's my startup output to show the scanning options:
I'm not a developer but this looks similar to what I'm seeing on Solaris.
Is readdir_r in use here ? (grep READDIR_R clamav-config.h)
Can you post the dirent struct from your /usr/include/sys/dirent.h file ?
(it should look something like:
typedef struct dirent {
ino_t d_ino; /* "inode number" of entry */
off_t d_off; /* offset of disk directory entry */
unsigned short d_reclen; /* length of this record */
char d_name[1]; /* name of file */
} dirent_t;
)
Otherwise the following command should give enough:
find /usr/include -name \*.h -exec grep d_name {} \;
Thanks,
Andy
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users