Hi,
We have a program that decodes incoming email using ripmime and sends it
off to clamav for virus scanning. The decoding section looks like:
MIME_init();
LOGGER_set_output_mode(_LOGGER_STDERR);
MIME_set_uniquenames(1);
MIME_set_header_longsearch(1);
MIME_set_paranoid(1);
MIMEH_set_outputdir(q->tmpdir);
MIME_unpack(q->tmpdir, q->tmpfile, 0);
MIME_close();
Recently we saw an error in our clam daemon:
Mon Mar 8 03:01:07 2004 [15381] [critical] Could not untaint 'È«³ÌÐÄÀíÎÀÉúÑо¿Ëù£¨ÐÄÀí×Éѯ£©.doc'
Shouldn't MIME_set_paranoid(1) force 7 bit names? Also, is there a way
to just force naming of files to just say 1, 2, 3, ...? In this case, we
don't care at all about the name, just want it extracted.
Cheers,
Alex
We have a program that decodes incoming email using ripmime and sends it
off to clamav for virus scanning. The decoding section looks like:
MIME_init();
LOGGER_set_output_mode(_LOGGER_STDERR);
MIME_set_uniquenames(1);
MIME_set_header_longsearch(1);
MIME_set_paranoid(1);
MIMEH_set_outputdir(q->tmpdir);
MIME_unpack(q->tmpdir, q->tmpfile, 0);
MIME_close();
Recently we saw an error in our clam daemon:
Mon Mar 8 03:01:07 2004 [15381] [critical] Could not untaint 'È«³ÌÐÄÀíÎÀÉúÑо¿Ëù£¨ÐÄÀí×Éѯ£©.doc'
Shouldn't MIME_set_paranoid(1) force 7 bit names? Also, is there a way
to just force naming of files to just say 1, 2, 3, ...? In this case, we
don't care at all about the name, just want it extracted.
Cheers,
Alex