Re: [exim] Exim+Clamd+ACL

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Luca Bertoncello
Date:  
À: exim-users
Sujet: Re: [exim] Exim+Clamd+ACL
"Pablo L. Arturi" <parturi@???> schrieb:

> So I check what's the permissions of /var/spool/exim/ :
>
> drwxr-x--- 2 mail mail 4096 Mar 11 15:44 db
> drwxr-x--- 2 mail mail 114688 Mar 11 15:57 input
> drwxr-x--- 2 mail mail 49152 Mar 11 15:47 msglog
> drwxr-x--- 2 mail mail 4096 Mar 11 15:57 scan
>
> And then I add mail to the clamav and vscan groups
>
> clamav:x:591:mail
> vscan:x:592:mail


Your directory are readable from group mail, but I can't know what the
permission of the files are...

On my Server, I have:

[lucabert@ns lucabert]$ id clamav
uid=12347(clamav) gid=12347(clamav) groups=12347(clamav)

and:

[lucabert@ns lucabert]$ ls -la /var/spool/exim/
total 19
drwxr-x---    6 exim     exim         2048 Feb  5 21:32 .
drwxr-xr-x   12 root     root         2048 Jan 22 22:05 ..
drwxr-x---    2 exim     exim         2048 Jan 23 22:00 db
-rw-r--r--    1 root     exim            5 Mar  8 15:07 exim-daemon.pid
-rw-r-----    1 exim     exim          243 Feb  5 21:32 exim-process.info
drwxr-x---    2 exim     exim         4096 Mar 11 20:01 input
drwxr-x---    2 exim     exim         2048 Mar 11 20:01 msglog
drwxr-x---    2 exim     exim         2048 Mar 11 20:00 scan


[lucabert@ns lucabert]$ id exim
uid=65002(exim) gid=12349(exim) groups=12349(exim),12(mail)

In my configure I wrote:

  deny  message    = This message contains malware ($malware_name)
        malware    = *


without the demime (it's deprecated!)...

I use clam on port 3310 of localhost (no Unix-Socket).

Hope to help
--
_______________________________
Luca Bertoncello
-Programmierung / Mailserver-

IMS Internet-Media-Service GmbH
Bärensteiner Straße 7
01277 Dresden

Fon: +49 351 2112034
Fax: +49 351 2112020
email: bertoncello@???