ERROR::UNKNOWN CLAMD RETURN

Olivier FRANCHET O.FRANCHET at dominux.net
Sat Mar 15 15:23:12 GMT 2008


So, now I did this :

Uncommented this 2 lines in /etc/clamd.conf ;-) :

User clamav
AllowSupplementaryGroups yes


Set the setgid for /var/spool/MailScanner/incoming (2660) :

[root at centos MailScanner]# ll
total 12
drwxrwS--- 8 postfix clamav  4096 mar 15 16:07 incoming
drwx------ 5 postfix postfix 4096 mar 14 19:13 quarantine
drwx------ 2 postfix postfix 4096 mar 11 23:46 spamassassin


Config for incoming in MailScanner.conf :

Incoming Work User =
Incoming Work Group = clamav
Incoming Work Permissions = 0640


Again the same error! Only work when clamd is under root !?!


Cordialement/Regards,
Olivier @ Dominux
http://www.dominux.net

mailscanner-bounces at lists.mailscanner.info a écrit sur 15/03/2008 10:54:17 
:

> [image supprimée] 
> 
> Re: ERROR::UNKNOWN CLAMD RETURN
> 
> Glenn Steen 
> 
> en :
> 
> MailScanner discussion
> 
> 15/03/2008 11:31
> 
> Envoyé par :
> 
> mailscanner-bounces at lists.mailscanner.info
> 
> Veuillez répondre à MailScanner discussion
> 
> On 14/03/2008, Olivier FRANCHET <O.FRANCHET at dominux.net> wrote:
> >
> > OK, it seems to be permissions. I did this :
> >
> > Commented this 2 lines in /etc/clamd.conf :
> > #User clamav
> > #AllowSupplementaryGroups yes
> >
> > Restarted Clamd :
> > service clamd restart
> >
> > Restarted MailScanner :
> > service MailScanner restart
> >
> > ... and I have no more errors on received email!
> >
> Always a bit tricky, with PF:-). Look into Ricks suggestion to use
> AllowSupplementaryGroups and adding in the user for clamd to your PF
> group. I too think that should be the simplest/best solution (little
> work, no root clamd...).
> 
> Cheers
> -- 
> -- Glenn
> email: glenn < dot > steen < at > gmail < dot > com
> work: glenn < dot > steen < at > ap1 < dot > se
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
> 
> Before posting, read http://wiki.mailscanner.info/posting
> 
> Support MailScanner development - buy the book off the website! 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20080315/656a7d58/attachment.html


More information about the MailScanner mailing list