ERROR::UNKNOWN CLAMD RETURN
Olivier FRANCHET
O.FRANCHET at dominux.net
Sat Mar 15 17:15:29 GMT 2008
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.
I don't remember what the permissions on this folder when I installed my
email gateway.
Thanks all.
Cordialement/Regards,
Olivier @ Dominux
http://www.dominux.net
mailscanner-bounces at lists.mailscanner.info a écrit sur 15/03/2008 17:34:58
:
> [image supprimée]
>
> Re: ERROR::UNKNOWN CLAMD RETURN
>
> Glenn Steen
>
> en :
>
> MailScanner discussion
>
> 15/03/2008 17:53
>
> Envoyé par :
>
> mailscanner-bounces at lists.mailscanner.info
>
> Veuillez répondre à MailScanner discussion
>
> On 15/03/2008, Olivier FRANCHET <O.FRANCHET at dominux.net> wrote:
> >
> > 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 !?!
> >
> Did you do as Rick suggested and add in the clamav user to the postfix
group?
>
> For the rest... Do as Peter suggest and check (by use of su) that both
> postfix and clamav can access the work directories.
>
> 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/513a0240/attachment.html
More information about the MailScanner
mailing list