<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Can you verify which user is running clamav ? It should be the same user thats running your MTA<div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; color: black; font-family: Calibri, sans-serif; ">--<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; color: black; font-family: Calibri, sans-serif; ">Jeremy McSpadden<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; color: black; font-family: Calibri, sans-serif; ">Flux Labs, Inc<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif; "><a href="http://www.fluxlabs.net/" style="color: blue; text-decoration: underline; "><span style="color: rgb(31, 73, 125); ">http://www.fluxlabs.net</span></a><br>Endless Solutions<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><b><span style="font-size: 10pt; color: rgb(125, 125, 125); font-family: Calibri, sans-serif; ">Office</span></b><span style="font-size: 10pt; color: rgb(125, 125, 125); font-family: Calibri, sans-serif; "> : 850-588-4626</span><span style="font-size: 11pt; color: rgb(125, 125, 125); font-family: Calibri, sans-serif; "><o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><b><span style="font-size: 10pt; color: rgb(125, 125, 125); font-family: Calibri, sans-serif; ">Cell</span></b><span style="font-size: 10pt; color: rgb(125, 125, 125); font-family: Calibri, sans-serif; "> : 850-890-2543<br><b>Fax</b> : 850-254-2955</span></div></span>
</div>
<br><div><div>On Nov 9, 2011, at 8:36 AM, Jeremy McSpadden wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Looks more like a permissions issue than a bug<br><div>
<span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; color: black; font-family: Calibri, sans-serif; ">--</span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; color: black; font-family: Calibri, sans-serif; ">Jeremy McSpadden</span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; color: black; font-family: Calibri, sans-serif; ">Flux Labs, Inc</span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif; "><a href="http://www.fluxlabs.net/" style="color: blue; text-decoration: underline; "><span style="color: rgb(31, 73, 125); ">http://www.fluxlabs.net</span></a><br>Endless Solutions</span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><b><span style="font-size: 10pt; color: rgb(125, 125, 125); font-family: Calibri, sans-serif; ">Office</span></b><span style="font-size: 10pt; color: rgb(125, 125, 125); font-family: Calibri, sans-serif; "> : 850-588-4626</span><span style="font-size: 11pt; color: rgb(125, 125, 125); font-family: Calibri, sans-serif; "></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><b><span style="font-size: 10pt; color: rgb(125, 125, 125); font-family: Calibri, sans-serif; ">Cell</span></b><span style="font-size: 10pt; color: rgb(125, 125, 125); font-family: Calibri, sans-serif; "> : 850-890-2543<br><b>Fax</b> : 850-254-2955</span></div></span>
</div>
<br><div><div>On Nov 9, 2011, at 8:19 AM, Alexandru Ionica wrote:</div><br class="Apple-interchange-newline"><blockquote><div>Hello,<br><br>MailScanner 4.84.3-1 fresh install running on Centos-6 x86_64 .<br>Running MailScanner --debug-sa i noticed the following:<br>12:54:12 LibClamAV Error: cli_scanhtml: Can't create temporary directory /var/spool/MailScanner/incoming/SpamAssassin-Temp/tmp.vWQ4hixN67/clamav-497c230ffa4f39a4779ea7618dd8efa4<br>
<br>/var/spool/MailScanner/incoming/SpamAssassin-Temp/tmp.vWQ4hixN67 is a file and not a directory so this is why it was caused.<br><br>I looked at /usr/lib/MailScanner/clamav-wrapper and changed <br>TempDir=$(mktemp) || { echo "$0: Cannot make name for temporary dir" >&2; exit 1; }<br>
to <br>TempDir=$(mktemp -d --tmpdir=/var/spool/MailScanner/clamav) || { echo "$0: Cannot make name for temporary dir" >&2; exit 1; }<br><br>I presume the --tmpdir wouldn't have been needed but i wanted to also move it do a different folder.<br>
Anyway the cause seems to be the lack of the -d flag to mktemp so mktemp creates a file instead of a folder.<br><br>After doing the above change i don't see any more errors or warnings from clamav.<br><br>Regards.<br>
<br></div>
-- <br>MailScanner mailing list<br><a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br><a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br><br>Before posting, read http://wiki.mailscanner.info/posting<br><br>Support MailScanner development - buy the book off the website! <br></blockquote></div><br>
</div>
-- <br>MailScanner mailing list<br><a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>http://lists.mailscanner.info/mailman/listinfo/mailscanner<br><br>Before posting, read http://wiki.mailscanner.info/posting<br><br>Support MailScanner development - buy the book off the website! <br></blockquote></div><br></div>
</body></html>