Re: [exim] Exim4 Trouble on Debian - Newbie

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Josip Rodin
Fecha:  
A: Benedek Frank
Cc: exim-users
Asunto: Re: [exim] Exim4 Trouble on Debian - Newbie
On Wed, Nov 29, 2006 at 03:13:14PM +0100, Benedek Frank wrote:
> Did you follow the Exim-related advice in
> /usr/share/doc/clamav-daemon/README.Debian.gz where it says you should
> merge their user groups? :)
>
> No, not yet. Thanks, I will look into it.


Definitely. The 'permission denied' error most probably happens because
clamav runs as user clamav, and exim runs as user Debian-exim, and those
two can't modify each other's files, that is, Debian-user can't write to
the clamav socket.

> momo-chan:/home/bfrank# ls -al /var/spool/exim4/db
> total 28
> drwxr-x---  2 Debian-exim Debian-exim  4096 2006-11-22 17:50 .
> drwxr-x---  6 Debian-exim Debian-exim  4096 2006-11-25 19:51 ..
> -rw-r-----  1 mail        mail        12288 2006-11-22 17:40 retry
> -rw-r-----  1 mail        mail            0 2006-05-22 15:17 retry.lockfile
> -rw-r-----  1 mail        mail        12288 2006-11-22 17:54 wait-remote_smtp
> -rw-r-----  1 mail        mail            0 2006-11-22 17:50 wait-remote_smtp.lockfile

>
> Should I change any of those permissions?


No idea why those files are owned by mail:mail, it could be some sort of
an upgrade issue. chown them to Debian-exim:Debian-exim, and remove
*.lockfile while you're at it (they're clearly stale).

-- 
     2. That which causes joy or happiness.