<br><font size=2 face="sans-serif">So, now I did this :</font>
<br>
<br><tt><font size=2>Uncommented this 2 lines in /etc/clamd.conf ;-) :<br>
</font></tt>
<br><tt><font size=2>User clamav<br>
AllowSupplementaryGroups yes</font></tt>
<br>
<br>
<br><tt><font size=2>Set the setgid for /var/spool/MailScanner/incoming
(2660) :</font></tt>
<br>
<br><tt><font size=2>[root@centos MailScanner]# ll</font></tt>
<br><tt><font size=2>total 12</font></tt>
<br><tt><font size=2>drwxrwS--- 8 postfix clamav 4096 mar 15 16:07
incoming</font></tt>
<br><tt><font size=2>drwx------ 5 postfix postfix 4096 mar 14 19:13 quarantine</font></tt>
<br><tt><font size=2>drwx------ 2 postfix postfix 4096 mar 11 23:46 spamassassin</font></tt>
<br>
<br>
<br><tt><font size=2>Config for incoming in MailScanner.conf :</font></tt>
<br>
<br><tt><font size=2>Incoming Work User =</font></tt>
<br><tt><font size=2>Incoming Work Group = clamav</font></tt>
<br><tt><font size=2>Incoming Work Permissions = 0640</font></tt>
<br>
<br>
<br><tt><font size=2>Again the same error! Only work when clamd is under
root !?!</font></tt>
<br>
<br>
<br><font size=2 face="sans-serif">Cordialement/Regards,<br>
Olivier @ Dominux<br>
</font><a href=http://www.dominux.net/><font size=2 face="sans-serif">http://www.dominux.net</font></a>
<br>
<br><tt><font size=2>mailscanner-bounces@lists.mailscanner.info a écrit
sur 15/03/2008 10:54:17 :<br>
<br>
> [image supprimée] </font></tt>
<br><tt><font size=2>> <br>
> Re: ERROR::UNKNOWN CLAMD RETURN</font></tt>
<br><tt><font size=2>> <br>
> Glenn Steen </font></tt>
<br><tt><font size=2>> <br>
> en :</font></tt>
<br><tt><font size=2>> <br>
> MailScanner discussion</font></tt>
<br><tt><font size=2>> <br>
> 15/03/2008 11:31</font></tt>
<br><tt><font size=2>> <br>
> Envoyé par :</font></tt>
<br><tt><font size=2>> <br>
> mailscanner-bounces@lists.mailscanner.info</font></tt>
<br><tt><font size=2>> <br>
> Veuillez répondre à MailScanner discussion</font></tt>
<br><tt><font size=2>> <br>
> On 14/03/2008, Olivier FRANCHET <O.FRANCHET@dominux.net> wrote:<br>
> ><br>
> > OK, it seems to be permissions. I did this :<br>
> ><br>
> > Commented this 2 lines in /etc/clamd.conf :<br>
> > #User clamav<br>
> > #AllowSupplementaryGroups yes<br>
> ><br>
> > Restarted Clamd :<br>
> > service clamd restart<br>
> ><br>
> > Restarted MailScanner :<br>
> > service MailScanner restart<br>
> ><br>
> > ... and I have no more errors on received email!<br>
> ><br>
> Always a bit tricky, with PF:-). Look into Ricks suggestion to use<br>
> AllowSupplementaryGroups and adding in the user for clamd to your
PF<br>
> group. I too think that should be the simplest/best solution (little<br>
> work, no root clamd...).<br>
> <br>
> Cheers<br>
> -- <br>
> -- Glenn<br>
> email: glenn < dot > steen < at > gmail < dot >
com<br>
> work: glenn < dot > steen < at > ap1 < dot > se<br>
> -- <br>
> MailScanner mailing list<br>
> mailscanner@lists.mailscanner.info<br>
> </font></tt><a href=http://lists.mailscanner.info/mailman/listinfo/mailscanner><tt><font size=2>http://lists.mailscanner.info/mailman/listinfo/mailscanner</font></tt></a><tt><font size=2><br>
> <br>
> Before posting, read </font></tt><a href=http://wiki.mailscanner.info/posting><tt><font size=2>http://wiki.mailscanner.info/posting</font></tt></a><tt><font size=2><br>
> <br>
> Support MailScanner development - buy the book off the website! <br>
> <br>
> -- <br>
> This message has been scanned for viruses and<br>
> dangerous content by MailScanner, and is<br>
> believed to be clean.<br>
> <br>
</font></tt><br />--
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.