[Exim] Permissions

Top Page
Delete this message
Reply to this message
Author: P Kirk
Date:  
To: exim-users
Subject: [Exim] Permissions
Hi all,

I created a user call exim. Then I ran this command as root.

mail -s test patrick@??? </dev/null

Errors followed.

root:/usr/src/nail-9.27# 2001-08-26 21:57:05 15b6xt-0003AN-00 Failed to
create d
irectory "/var/spool/mail/input": Permission denied
2001-08-26 21:57:05 15b6xt-0003AN-00 Failed to create directory
"/var/spool/mail
/input": Permission denied

root:/usr/src/nail-9.27# 2001-08-26 21:58:18 15b6z3-0003BN-00 Cannot open
main l
og file "/var/log/exim_mainlog": Permission denied: euid=1003 egid=100
2001-08-26 21:58:18 15b6z3-0003BN-00 Cannot open main log file
"/var/log/exim_ma
inlog": Permission denied: euid=1003 egid=100

I changed ownership of the mail folder to exim. It works.
I also chmod -R 777 /var/log. This works but can't be right :-(

The problem here is I don't understand the security model so don't know what
permissions to set where. Any advice please?

BTW, this will be Exim's first external mail...
--
Patrick Kirk
GSM: +44 7876 560 646
ICQ: 42219699