Bowie Bailey wrote:
> From: Fredrik Elestedt [mailto:[EMAIL PROTECTED]
> 
>>Bowie Bailey wrote:
>>
>>>From: Fredrik Elestedt [mailto:[EMAIL PROTECTED]
>>>
>>>>Bowie Bailey wrote:
>>>>
>>>>
>>>>>I've got an odd problem.  I haven't run into this on any of my other
>>>>>Courier installs.
>>>>>
>>>>>
>>>>># /usr/lib/courier/sbin/courierfilter start
>>>>>/var/spool/courier/tmp/courierfilter.pid: Permission denied
>>>>>
>>>>># ll /var/spool/courier/
>>>>>total 28
>>>>>drwxr-x---  2 mailuser mailuser 4096 Nov 29 11:02 allfilters
>>>>>drwx------  2 mailuser mailuser 4096 Nov 29 11:02 faxtmp
>>>>>drwxr-x---  2 mailuser mailuser 4096 Nov 29 11:02 filters
>>>>>drwxr-x---  2 mailuser mailuser 4096 Nov 29 11:02 msgq
>>>>>drwxr-x---  2 mailuser mailuser 4096 Nov 29 11:02 msgs
>>>>>drwxrwx---  2 mailuser mailuser 4096 Dec 14 11:30 tmp
>>>>>drwxr-xr-x  2 mailuser mailuser 4096 Nov 29 11:02 track
>>>>>
>>>>># ll /var/spool/courier/tmp/
>>>>>total 12
>>>>>-rw-------  1 root   root   0 Dec 14 09:00 courierd.lock
>>>>>-rw-------  1 root   root   0 Dec 14 09:00 esmtpd-msa.pid.lock
>>>>>-rw-r--r--  1 root   root   6 Dec 14 11:30 esmtpd.pid
>>>>>-rw-------  1 root   root   0 Dec 14 09:00 esmtpd.pid.lock
>>>>>-rw-------  1 root   root   0 Dec 14 10:53 esmtpd-ssl.pid.lock
>>>>>-rw-r--r--  1 root   root   6 Dec 14 11:30 imapd.pid
>>>>>-rw-------  1 root   root   0 Dec 14 09:00 imapd.pid.lock
>>>>>-rw-r--r--  1 root   root   6 Dec 14 11:30 imapd-ssl.pid
>>>>>-rw-------  1 root   root   0 Dec 14 09:00 imapd-ssl.pid.lock
>>>>>prw-rw----  1 daemon daemon 0 Dec 14 11:30 trigger
>>>>>
>>>>>
>>>>>All of the courier processes should be running as either root or
>>>>>mailuser.  So why am I getting a "Permission denied" here?
>>>>>
>>>>>Any suggestions on how to track this down?
>>>>
>>>>What's the permissions of the directories '/var/spool' and
>>>>'/var/spool/courier'?
>>>>Perhaps the problem lies there.
>>>
>>>$ ll -d /var/spool
>>>drwxr-xr-x  15 root root 4096 Nov 29 11:09 /var/spool
>>>
>>>$ ll -d /var/spool/courier
>>>drwxr-xr-x  9 bin bin 4096 Nov 29 11:09 /var/spool/courier
>>>
>>>I don't think those are the problem.  The permissions and ownership are
>>>identical to my other (operational) server.
>>
>>Other than permissions I cannot think of anything. Have you tried
>>creating the file and giving ownership to root? (same as all the other
>>pid-files). Or just try - to eliminate it - to set 'chmod 777
>>/var/spool/courier/tmp' and see if it works.
>>Could be that on your other server all processes are run inder mailuser,
>>but not here.
> 
> 
> Ok, changing permissions on /var/spool/courier/tmp showed the problem.
> 
> Apparently, courierfilter is trying to run as 'daemon'.  All of the other
> processes are running as 'root' or 'mailuser'.  Is there a configuration for
> that somewhere?  I thought I had fixed all of them, but I may have missed
> one.
> 
> Bowie

Sorry, canät help you there. sifting thru the config-files should lead
you to it though.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to