3 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Control imapd and...
FromSent OnAttachments
David RueterMay 3, 2001 1:47 pm 
David RueterMay 3, 2001 3:22 pm 
Martin EdlmanMay 4, 2001 6:50 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Control imapd and pop3d via daemontools?Actions...
From:Martin Edlman (edl@fortech.cz)
Date:May 4, 2001 6:50:36 am
List:net.sourceforge.lists.courier-users

David Rueter wrote:

I know that Courier works without daemontools, but...

I would like to have logging handled by multilog instead of syslog.

Also, consistency in control of the services is helpful to administrators who don't work with the server every day.

I have courier-imap installed in /var/corier-imap with following permissions a files: Everything is working properly. I tried even with multilog, worked fine too. Only thing which I was not able to make working is to run authdaemon via deamontools. If someone knows how to do it, I'd like to know it.

Edas

[root@acc]# ls -lR /var/courier-imap/service/ /var/courier-imap/service/: total 12 drwxr-xr-x 3 root root 4096 Apr 4 14:57 authdaemond drwxr-xr-t 4 root root 4096 Apr 10 11:03 imapd drwxr-xr-t 3 root root 4096 Mar 30 14:22 pop3d

/var/courier-imap/service/imapd: total 12 drwxr-xr-x 3 root root 4096 Apr 10 11:03 log -rwxr-xr-x 1 root root 316 Apr 4 12:46 run drwx------ 2 root root 4096 May 4 15:32 supervise

/var/courier-imap/service/imapd/log: total 8 -rwxr-xr-x 1 root root 55 Apr 4 21:24 run drwx------ 2 root root 4096 May 4 15:32 supervise

/var/courier-imap/service/imapd/log/supervise: total 4 prw------- 1 root root 0 Apr 10 11:03 control -rw------- 1 root root 0 Apr 3 09:48 lock prw------- 1 root root 0 Apr 3 09:48 ok -rw-r--r-- 1 root root 18 May 4 15:32 status

/var/courier-imap/service/imapd/supervise: total 4 prw------- 1 root root 0 Apr 10 11:03 control -rw------- 1 root root 0 Apr 3 09:48 lock prw------- 1 root root 0 Apr 3 09:48 ok -rw-r--r-- 1 root root 18 May 4 15:32 status

[root@acc]# cat /var/courier-imap/service/imapd/run #!/bin/sh service=imapd export PATH=$PATH:/var/courier-imap/libexec/authlib:/var/courier-imap/bin:/var/courier-imap/sbin exec tcpserver -dHRvX -c 20 \ -x /etc/tcpcontrol/imap.cdb 0 imap \ /var/courier-imap/sbin/imaplogin \ /var/courier-imap/libexec/authlib/authdaemon \ /var/courier-imap/bin/imapd Maildir 2>&1

[root@acc]# cat /var/courier-imap/service/imapd/log/run #!/bin/sh exec /var/courier-imap/libexec/logger imapd