<br><font size=2 face="sans-serif">OK, I don't know why but I changer permissions
for incoming folder to 640 + setgid and all work fine now! Clamd is running
under clamav user.</font>
<br>
<br><font size=2 face="sans-serif">I don't remember what the permissions
on this folder when I installed my email gateway.</font>
<br>
<br><font size=2 face="sans-serif">Thanks all.</font>
<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 17:34:58 :<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 17:53</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 15/03/2008, Olivier FRANCHET <O.FRANCHET@dominux.net> wrote:<br>
> ><br>
> > So, now I did this :<br>
> ><br>
> > Uncommented this 2 lines in /etc/clamd.conf ;-) :<br>
> ><br>
> > User clamav<br>
> > AllowSupplementaryGroups yes<br>
> ><br>
> ><br>
> > Set the setgid for /var/spool/MailScanner/incoming (2660) :<br>
> ><br>
> > [root@centos MailScanner]# ll<br>
> > total 12<br>
> > drwxrwS--- 8 postfix clamav 4096 mar 15 16:07 incoming<br>
> > drwx------ 5 postfix postfix 4096 mar 14 19:13 quarantine<br>
> > drwx------ 2 postfix postfix 4096 mar 11 23:46 spamassassin<br>
> ><br>
> ><br>
> > Config for incoming in MailScanner.conf :<br>
> ><br>
> > Incoming Work User =<br>
> > Incoming Work Group = clamav<br>
> > Incoming Work Permissions = 0640<br>
> ><br>
> ><br>
> > Again the same error! Only work when clamd is under root !?!<br>
> ><br>
> Did you do as Rick suggested and add in the clamav user to the postfix
group?<br>
> <br>
> For the rest... Do as Peter suggest and check (by use of su) that
both<br>
> postfix and clamav can access the work directories.<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.