Bug#375072: exim4: Wrong file permissions of mailboxes in /var/spool

Marc Haber mh+debian-packages at zugschlus.de
Fri Jun 23 05:30:59 UTC 2006


block #375072 #374705
# hope this is the right order
thanks

On Fri, Jun 23, 2006 at 05:18:28AM +0200, Michael Biebl wrote:
> I intalled etch from the beta2 install cd and configured exim4 to do
> local delivery only. After the installation mail delivery to a local
> user account failed because the file permission were not set correctly.
> This is how it looked on my system after the installation:
> 
> pluto:/etc/exim4# ls -la /var/mail/
> insgesamt 8
> drwxrwsr-x  2 root mail 4096 2006-06-23 05:05 .
> drwxr-xr-x 15 root root 4096 2006-06-23 02:36 ..
> ----------  1 root mail    0 2006-06-01 20:03 Debian-exim
> ----------  1 root mail    0 2006-06-01 20:09 gdm
> ----------  1 root mail    0 2006-06-01 20:06 hal
> ----------  1 root mail    0 2006-06-01 20:04 identd
> ----------  1 root mail    0 2006-06-01 20:05 messagebus
> ----------  1 root mail    0 2006-06-01 20:12 michael
> ----------  1 root mail    0 2006-06-01 20:04 statd

This is #374705, and a bug in the shadow package.

> As a measure of safety though you could check in the exim postinst
> script, if the permissions in /var/mail are set correctly and if not
> correct them or at least give a warning.

I consider this beyond exim4's scope. We could be required to check
/etc/passwd syntax as well next time.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835




More information about the Pkg-exim4-maintainers mailing list