hello all,
i start qmail-smtpd with

*** beg of qmail-smtpd
# /sbin/init.d/qmail-smtpd
# symbolic links in
# /sbin/rc2.d
export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin

case "$1" in
    start)
        echo "Starting qmail-smtpd."
    supervise /var/lock/svc/qmail-smtpd tcpserver -q
-x/etc/tcp.smtp.cdb\
    -u101 -g101 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 | \
    setuser qmaill accustamp | \
    setuser qmaill tailocal >> /var/log/qmail.log &
        ;;
    stop)
        echo -n "Stopping qmail-smtpd..."
        svc -dx /var/lock/svc/qmail-smtpd
        echo "ok"
        ;;
    *)
        echo "Usage: $0 {start|stop}"
        exit 1
        ;;
esac

exit 0
*** end of qmail-smtpd

1. the logging with >> is not very nice and i am looking for a nice
and simple other possibility.

2. the file qmail.log is always 0 (no logging) even though i telnet to
port 25 and send myself succesfully a mail.

3. this machine is a secondary MX receiver, so i would like to know,
how much emails qmail-smtpd received, but qmail-send did not already
send them to the main MX mail-server. the mails are in the queue, but
how can i get the number of mails there?

any hints are greatly appreciated.
jan stifter

Reply via email to