> I really should get some sleep... Please accept my apologies.... I made a
> mistake in my previous message to you.
No problem thanks a lot !
> --------------------------------------------
> exec tcpserver -R -H -v -x /etc/tcp.smtp.cdb -u qmaild -g nobody 0 smtp \

^^
#######from tcpserver page########
tcpserver waits for connections from TCP clients. For each connection, it
runs prog, with descriptor 0 reading from the network and descriptor 1
writing to the network. It also sets up several environment variables.
############end##################
I were asking what that zero meant ? The same I dont figured when I would be
"writing" to the network.

> /var/qmail/bin/qmail-smtpd 2>&1 | \
> ^^^^^
> /var/qmail/bin/splogger smtpd 10 &
> --------------------------------------------
I understand it you "pipes" the stdout and error to the logger. Great !
But see as is configured in "Life with qmail"
##########################################
Create the /var/qmail/supervise/qmail-smtpd/run file:
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 2000000 \
    /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
        -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd
2>&1
####****** here the stdout and error are redirected to ???? I dont
understand !
----------------------------------------------------------------------------
----
Note: concurrencyincoming isn't a standard qmail control file. It's a
feature of the above script.
----------------------------------------------------------------------------
----
Create the concurrencyincoming control file:
    echo 20 > /var/qmail/control/concurrencyincoming
    chmod 644 /var/qmail/control/concurrencyincoming
Create the /var/qmail/supervise/qmail-smtpd/log/run file:
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
/var/log/qmail/smtpd
#######*******I dont undertand how to "multilog" catch the output and error
from qmail-smptd ???

#############################################################
end of "Life with qmail"
THX. a lot





Reply via email to