[Pkg-exim4-users] permissions on etc/exim4 ?

J G Miller miller at yoyo.ORG
Thu Jul 11 11:17:27 UTC 2013


At 10:51h, on Thursday, July 11, 2013,
in message <51DE721F.1000409 at jvdw.nl>,
on the subject of "[Pkg-exim4-users] permissions on etc/exim4 ?", you wrote -

 > I got this message from exim4: paniclog. It said :
 > Exim configuration file /etc/exim4/exim4.conf has the wrong owner, 
 > group, or mode

The most likely cause of the error message from your description which
actuals lacks details of what actual ownership and permission your are using
(a simple ls -l would have been most helpful) is that your configuration
file is perhaps world writeable or maybe world readable.

Here are the ownerships and permissions which I use for optimal security
and have never had a complaint from exim4 about the permissions.

 ls -l /etc/exim4
total 100
drwxr-x--- 9 root Debian-exim  4096 2007-01-18 18:45 conf.d
-r--r----- 1 root Debian-exim   399 2007-01-18 18:45 email-addresses
-rw-r----- 1 root Debian-exim 76717 2007-01-18 18:45 exim4.conf.template
-r--r----- 1 root Debian-exim   794 2007-01-18 18:45 passwd.client
drwxr-x--- 2 root Debian-exim  4096 2012-08-04 17:18 ssl
-r--r----- 1 root root          744 2007-01-18 18:45 update-exim4.conf.conf

Also it is better for managing and customizing the exim4 configuration if you
do not use a single monolithic configuration file but follow the Debian way
of separate configuration files for each aspect of exim4 under /etc/exim4/conf.d

Hope this helps to resolve your problem.

J G Miller



More information about the Pkg-exim4-users mailing list