Chris Hilts said:
>> SM seems to generate a lot of quick start/exit. Is this normal?
>>
>> Feb 18 09:22:37 www xinetd[22813]: EXIT: imap pid=28646
>> duration=0(sec) Feb 18 09:22:40 www xinetd[22813]: START: imap
>> pid=28727 from=127.0.0.1
>
> Yes.  To save space in your logs and to improve performance, you ought
> to consider running your imap daemon standalone, instead of starting it
> on-demand with xinetd.

Dumb question time. Running on RH 7.1. Set the imap/imaps in /etc/xinetd.d
to disabled. Then tried to start the imapd daemon in standalone. I.e.,
/usr/sbin/imapd -- it responds and then does not return (have to stop with
^C).  I tried writing a init.d script to start it:

# Source function library.
. /etc/init.d/functions

[ -f /usr/sbin/imapd ] || exit 0

RETVAL=0

start() {
        echo -n $"Starting imapd: "
        daemon imapd
        RETVAL=$?
        echo
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/imapd
        return $RETVAL

and that seems to start and not return when I ./imapd start.

Nothing in the doco about imapd running in staqndalone mode.  Any advice
please?





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to