Dave Sill wrote:

> As for dot-forward, if you're still running it from your .qmail file
> and/or your qmail-start invocation, it should still be working.

        Well, I'm running qmail-smtpd from another script, which uses
tcpserver. It looks this way:

#!/bin/sh
    
# Qmail Startup

        
# Source function library.
. /etc/rc.d/init.d/functions
        
        
# See how we were called.
case "$1" in
  start)
        echo -n "Starting: "
        env - PATH="/var/qmail/bin:/usr/local/bin" \
    qmail-start ./Maildir/ /usr/local/bin/accustamp \
    | /usr/local/bin/setuser qmaill /usr/local/bin/cyclog /var/log/qmail
&
        echo -n "qmail "
        
        env - PATH="/var/qmail/bin:/usr/local/bin" \
        tcpserver 0 pop-3 /var/qmail/bin/qmail-popup ananke.comarch.pl \
        /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &
        echo -n "pop "
        env - PATH="/var/qmail/bin:/usr/local/bin" \
        tcpserver -c 100 -H -R  -u503 -g503 0 smtp \
        /var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &
        echo "smtp" 
        ;;
 stop)
        echo -n "Stopping: "
        killproc qmail-send
        echo -n "qmail "
        killproc tcpserver
        echo "smtp "
        ;;
  restart)
        $0 stop
        $0 start
        ;;
  status)
        status qmail
        ;;
 *)   
        echo "Usage: qmail {start|stop|restart|status}"
        exit 1
esac      
        
exit 0

        But it seems it's not tuned for my pyurposes. Any idea how should I fix
it so it works with dot-forward (started previously in rc) and accepts
external smtp connections?
Thanx in advance for your help.

Piotr Wanat
-- 
mailto:[EMAIL PROTECTED] | UIN:15871058

Reply via email to