[Exim] Still having permission errors

Góra strony
Delete this message
Reply to this message
Autor: mcneillk
Data:  
Dla: exim-users
Temat: [Exim] Still having permission errors
I am still having a problem with permissions while running exim. I am
running Mandrake 9.1 and here are the problems I have encountered.

exim is running as user 'mail'

Initial Error message in the exim log:


2003-06-12 15:54:20 Start queue run: pid=2375
2003-06-12 15:54:20 19QY5M-0000YO-QW Spool error for
/var/spool/exim/input//19QY5M-0000YO-QW-D: Permission denied 2003-06-12
15:54:20 End queue run: pid=2375

ownership of the files in /var/spool/exim/input/ is set to the user that
created the mail(i.e. with mutt) the group is set to mail. the permissions
on the files are -rw-r-----

After doing to the files in /var/spool/exim/input, chmod g+w

2003-06-12 15:56:20 Start queue run: pid=2383
2003-06-12 15:56:20 19QY5M-0000YO-QW Couldn't create message log
/var/spool/exim/msglog//19QY5M-0000YO-QW: Permission denied 2003-06-12
15:56:20 End queue run: pid=2383

19QY5M-0000YO-QW is created but is an empty file

/var/spool/exim and all its subdirectories are set to drwxrwxrwx

It does work,however, if I do a chmod a+s /usr/sbin/exim, how bad is it to
do this?

Thanks, McNeill Kirkpatrick


Permissions of various directories and of one email msg:
-rw-r-----    1 mail     mail          269 Jun 16 11:20 19RvmK-0000aC-RJ-D


drwxrwxrwx    2 mail     mail         4096 Jun 11 15:20 db/
drwxrwxrwx    2 mail     mail         4096 Jun 16 10:40 input/
drwxrwxrwx    2 mail     mail         4096 Jun 16 10:40 msglog/


drwxrwxrwx    5 mail     mail         4096 Jun 11 15:07 exim/