Author: W B Hacker Date: To: exim users Subject: Re: [exim] "/var/spool/exim": Permission denied........ please help
Renaud Allard wrote: >
> anand n wrote:
>> Hi,
>>
>> I got the following error message in my server
>>
>>
>> ########################################################################
>> [root@server]# tail -f /var/log/exim_mainlog
>>
>> 2007-06-09 11:02:18 SMTP command timeout on connection from [192.***.***.*]
>> 2007-06-09 11:02:24 Failed to create directory "/var/spool/exim": Permission
>> denied
>>
>> 2007-06-09 11:13:52 Failed to create directory "/var/spool/exim": Permission
>> denied
>>
>> 2007-06-09 11:14:02 Failed to create directory "/var/spool/exim": Permission
>> denied
>> #######################################################################
>>
>> Any suggestions...Am waiting for your positive response.....
>
> This may help you:
>
> mkdir /var/spool/exim
> chown youreximuser /var/spool/exim
>
Also:
- check to insure you have no invocation of 'sendmail' - the default on a *BSD
system for example, or ANY OTHER MTA, and that chron jobs that call it are
'repointed' in /etc/mail/mailer.conf or equivalent - to call exim, not sendmail
(or other default MTA).
- *otherwise* even though you set the right ownerships all around (logs
included) for exim, there can arise a situation where at bootup, chron, or
syslog activity, one of those tasks invoked as root will set the ownership back
to mailnull:mail - or some such.
May be quite different on Linux, but you get the drift w/r what to look for...
Unexpected ownership changes are the giveaway.
NB: chmod has to be appropriate as well as ownership.