From: <[EMAIL PROTECTED]>
> Hi,
> I am doing something wrong...
>
> run:
> #!/bin/sh
> exec env - PATH="/var/qmail/bin:/usr/local/bin" \
> tcpserver -H -R 0 pop3 \
> /var/qmail/bin/qmail-popup smashweb.com \
> /usr/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
>
> log/run:
> #!/bin/sh
> exec setuidgid qmaill multilog t /var/log/qmail/pop3d
>
> The tcpserver and multilog processes started up right, the log dir was
> created, but nothing gets logged, and the POP service deconnects clients
> shortly after establishing the connection.

I am no expert but I think you need the "2>&1" at the end of your qmail-pop3d/run.  I 
know mine has
that.  I also think you "should" use the softlimit.

DJB's page on softlimit http://cr.yp.to/daemontools/softlimit.html

bash-2.04# cat /var/qmail/supervise/qmail-pop3d/run

#!/bin/sh
exec /usr/local/bin/softlimit -m 2000000 \
tcpserver -v -H -R 0 pop-3 /var/qmail/bin/qmail-popup \
updegrove.net /var/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1

bash-2.04# cat /var/qmail/supervise/qmail-pop3d/log/run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill multilog t /var/log/qmail/pop3d


p.s.

This guy even uses softlimit in his log/run script, I think I shall update mine asap.
http://www.flounder.net/qmail/qmail-howto.html

For log/run:
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t s2500000 
/var/log/qmail/qmail-smtpd

Hope that helped

Rick Up

Reply via email to