Yes, after further investigation, this boils down to permissions on /var/spool/MailScanner/incoming. Using ClamAV, permissions are postfix:clamav - 755 on the parent directory and insure the Locks directory and the temporary lock directories are the same.<br>
<br>postfix:postfix - 600 on the remaining:<br>Processing.db<br>razor-agent.log<br>SpamAssassin.cache.db<br>SpamAssassin-Temp<br><br>Thanks<br><br><br><br><div class="gmail_quote">On Thu, Nov 5, 2009 at 7:40 AM, Glenn Steen <span dir="ltr"><<a href="mailto:glenn.steen@gmail.com">glenn.steen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2009/11/2 Ryan Ivey <<a href="mailto:iveymr@gmail.com">iveymr@gmail.com</a>>:<br>
<div class="im">> After upgrading to 4.78, I'm having problems getting MailScanner to process<br>
> mail properly. It seems to only process mail originating from our domain.<br>
> Incoming email seems to hang in the queue indefinitely.<br>
><br>
> Specifically, I believe the problem is here:<br>
><br>
><br>
> [root@mailserver incoming]# /usr/sbin/MailScanner --debug<br>
><br>
> In Debugging mode, not forking...<br>
> Trying to setlogsock(unix)<br>
> Building a message batch to scan...<br>
> Can't call method "print" on an undefined value at<br>
> /usr/lib/MailScanner/MailScanner/PFDiskStore.pm line 743.<br>
><br>
</div>Something is pretyty much wrong here, probably regardiing directory<br>
permissions... Can the user "postfix" (or whatever PF runs as) really<br>
write to that working directory? Methinks not:-).<br>
Test it with "su - postfix -s /bin/bash", and then try cd into place,<br>
use touch and mkdir etc to see where (and what) the problem seems to<br>
be.<br>
<div class="im"><br>
<br>
> Some searching lead to checking the permission on the working dir:<br>
> drwxrwxr-x 14 clamav clamav 4096 Nov 2 10:04 incoming<br>
<br>
</div>Dear me, but you are _not_ running postfix as the clamav user, now are you?<br>
So chown that appropriately, and things should start cooking. While<br>
you're at it, since it seems you are trying to get clamd running<br>
correctly, be aware that you need setup MS so that the incoming<br>
directories are owned postfix.clamav and that the permissions are at<br>
least 0640 ... So that both postfix and clamd can read (and possibly<br>
write:-) the dirs.<br>
<br>
(snip)<br>
Cheers<br>
<font color="#888888">--<br>
-- Glenn<br>
email: glenn < dot > steen < at > gmail < dot > com<br>
work: glenn < dot > steen < at > ap1 < dot > se<br>
</font><div><div></div><div class="h5">--<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" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
</div></div></blockquote></div><br>