[Pkg-dspam-misc] [Amavisd-new and dspam] Unable to open file
for reading: /etc/dspam/dspam.conf: Permission denied
Matthijs Mohlmann
matthijs at cacholong.nl
Sat Feb 18 22:17:07 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Jérôme Schneider wrote:
> Hi,
>
> I have a strange problem with dspam : when the user amavis try to use
> dspam I have this error : "Unable to open file for
> reading: /etc/dspam/dspam.conf: Permission denied".
> But Mister amavis can read /etc/dspam/dspam.conf (he is in the dspam group).
>
> More informations :
> - dspam packages :
> aptitude search -F "%c %p %v %V" dspam~i
>
> i dspam 3.6.2-2 3.6.2-2
> i dspam-doc 3.6.2-2 3.6.2-2
> i libdspam7 3.6.2-2 3.6.2-2
> i libdspam7-drv-db4 3.6.2-2 3.6.2-2
> i libdspam7-drv-hash 3.6.2-2 3.6.2-2
> i libdspam7-drv-mysql 3.6.2-2 3.6.2-2
>
> - user amavis groups :
> id amavis
> uid=109(amavis) gid=111(amavis) groups=111(amavis),108(clamav),112(dspam)
>
> - amavis can read the dspam.conf :
> #su - amavis
> $less /etc/dspam/dspam.conf
> [...]
> Trust amavis
> [...]
>
> So I don't know if it's a bug or a bad configuration, but I haven't find
> any solution.
>
It's a known problem and fixed in the next release to debian of dspam.
You can easily fix it by modifying the permissions in /etc/dspam/dspam.d/*
> Thanks
>
> Jérôme Schneider
Regards,
Matthijs Mohlmann
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFD95zj2n1ROIkXqbARAkVyAJ9TiHVDuMFkIBczT8KQDCOlOFfn5gCfXX8c
mHT7aKeohVpET+zzagvZF+Y=
=5L5B
-----END PGP SIGNATURE-----
More information about the Pkg-dspam-misc
mailing list