On Thursday 04 December 2003 7:29 pm, Luciano wrote: > Hello > > I have a problem and I installed a MailScanner and the Clamav six time and > the RH9, three. > > In the maillog, when MailScanner analyzes the message (a mail with > eicar.com attached), it write > > ***Dec 4 17:25:18 mailx MailScanner[5354]: ERROR: Unable to create > temporary directory. *** > > I wrote to Julian Field, from MailScanner, and he told me this message > isn't present in source of MailScanner so must be a message from Clamav. > > If I change the 'Virus Scanner' in MailScanner.conf to none, the error not > happen.
Do you have a /tmp directory on your system? Do the permissions on this directory allow the clamav user to write to it? Do you have the $TMPDIR environment variable set? (If so, what is it)? It is not difficult to find the text of this error message in the ClamAV source code, and to identify which section of the code can produce it. It is also fairly self-explanatory - it says that ClamAV was unable to create itself a working directory in /tmp (or wherever your system has allocated for temporary usage by applications). It is almost certainly a permissions problem. Antony. -- If the human brain were so simple that we could understand it, we'd be simple that we couldn't. Please reply to the list; please don't CC me. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users