<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Kai Schaetzl wrote:
<blockquote cite="mid:VA.000039e9.04b339e1@news.conactive.com"
type="cite">
<pre wrap="">Mark McIntosh Infowall wrote on Wed, 10 Feb 2010 23:36:37 -0500:
</pre>
<blockquote type="cite">
<pre wrap="">Error in tempdir() using MSlintXXXXXX: Could not create directory
MSlintNc5sbC: Permission denied at
/usr/lib/MailScanner/MailScanner/MessageBatch.pm line 1211
</pre>
</blockquote>
<pre wrap=""><!---->
I would assume that the MailScanner work directory or a subdirectory
doesn't have the correct permissions anymore. It usually needs to be
writable by the postfix user. The directory is at /var/spool/MailScanner.
The permissions might have been changed by your newly compiled version.
They do not get changed by the postfix update in CentOS.
l /var/spool/MailScanner
total 60
drwxr-xr-x 6 root root 4096 Dec 31 2008 .
drwxr-xr-x 13 root root 4096 Mar 9 2009 ..
drwxr-xr-x 410 postfix apache 12288 Feb 11 00:00 archive
drwxr-xr-x 5 postfix clamav 4096 Feb 11 08:30 incoming
drwxrwx--- 494 postfix apache 12288 Feb 11 00:00 quarantine
drwxr-xr-x 2 postfix postfix 4096 Oct 9 2008 spamassassin
Kai
</pre>
</blockquote>
Kai,<br>
<br>
Are the permissions listed above recursive. I have set the permissions
at that level to match yours and they were slightly different but the
levels below are different.<br>
<br>
drwxr-xr-x 6 postfix postfix 4096 Feb 11 19:55 .<br>
drwxr-xr-x 15 root root 4096 Mar 11 2009 ..<br>
drwxr-xr-x 2 postfix apache 4096 Feb 11 19:55 archive<br>
drwxr-xr-x 9 root clamav 4096 Feb 11 20:17 incoming<br>
drwxrwx--- 32 root apache 4096 Feb 11 00:00 quarantine<br>
drwxr-xr-x 3 postfix apache 4096 Feb 11 20:01 spamassassin<br>
<br>
<br>
[root@demo MailScanner]# ls -l incoming/<br>
total 244<br>
drwxr-x--- 2 root clamav 4096 Feb 11 20:01 24211<br>
drwxr-x--- 2 root clamav 4096 Feb 11 20:17 24795<br>
drwxr-x--- 2 postfix clamav 4096 Feb 11 04:43 6453<br>
drwxr-x--- 2 postfix clamav 4096 Feb 11 04:43 6469<br>
drwxr-x--- 2 postfix clamav 4096 Feb 11 04:43 6476<br>
drwxr-x--- 2 root postfix 4096 Feb 10 23:35 Locks<br>
-rw------- 1 postfix postfix 4096 Feb 10 23:10 Processing.db<br>
-rw------- 1 postfix postfix 166912 Feb 11 04:35 SpamAssassin.cache.db<br>
drwx------ 2 postfix postfix 49152 Feb 11 20:17 SpamAssassin-Temp<br>
<br>
<br>
<br>
[root@demo MailScanner]# ls -al spamassassin/<br>
total 9688<br>
drwxr-xr-x 3 postfix apache 4096 Feb 11 20:01 .<br>
drwxr-xr-x 6 postfix postfix 4096 Feb 11 19:55 ..<br>
-rw------- 1 postfix apache 12288 Jul 22 2008 auto-whitelist<br>
-rw-rw---- 1 postfix apache 144 Feb 11 20:17 bayes_journal<br>
-rw-rw---- 1 postfix apache 42 Feb 11 20:01 bayes.mutex<br>
-rw-rw---- 1 postfix apache 10412032 Feb 10 23:10 bayes_seen<br>
-rw-rw---- 1 postfix apache 2609152 Feb 11 20:01 bayes_toks<br>
drwxr-sr-x 2 root postfix 4096 Sep 19 2008 razor<br>
<br>
<br>
Regards,<br>
<br>
Mark <br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>