[Exim] Installing Exim 4.20 (almost there) - Permissions Iss…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Craig
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] Installing Exim 4.20 (almost there) - Permissions Issue
Hey List,

I figured out the permissions issue regarding the error:

Jun 5 01:51:50 exim[2835]: 2003-06-05 01:51:50 re-exec of exim
(/usr/sbin/exim) with -q failed: Permission denied

Turns out it was complaining because my /usr/sbin has permissions of 700 on
the /sbin directory.. I didn't want to remove that, so I went back and
recomplied Exim and this time selected the default install directory of
/usr/exim/ and that took care of the problem <yippie>..

Jun 5 05:32:53 exim[15743]: 2003-06-05 05:32:53 exim 4.20 daemon started:
pid=15743, -q10m, listening for SMTP on port 25 (IPv4)
Jun 5 05:32:53 exim[15745]: 2003-06-05 05:32:53 Start queue run: pid=15745
Jun 5 05:32:53 exim[15745]: 2003-06-05 05:32:53 End queue run: pid=15745

The only problem now is when I try and run my delivery test I now get this
error:

[root /]# /usr/exim/exim -v postmaster@???
From: sysadmin@???
To: postmaster@???
Subject: Testing Exim

This is a test.
LOG: MAIN
<= root@??? U=root P=local S=355
[root log]# LOG: MAIN
== admin@??? <postmaster@???> R=localuser
T=local_delivery defer (13): Permission denied: failed to create
directories for /var/mail: Permission denied

Mail is stored under /home/spool/mail/userID and/or there's also a symbolic
link created by the system when I add a new user as /var/spool/mail/userID
(remember this is an old Cobalt RaQ built on RedHat 6.2).. How can I
change it to have Exim try and deliver under/to one of these directories..?
I don't have anything under /var/ that's tied to mail (almost no
files/folder at all actually).. The layout on these systems is a bit
butchered by Cobalt.. Is it possible to direct Exim to pipe the delivery to
/home/spool/mail/userid and/or /var/spool/mail/userid..? I'm guessing I'll
need to rebuild the binary if I can pipe that in somewhere in the Makefile
(but can't find where)..

Thanks again in advance..

Regards
Craig