slow start tcpserver

2001-05-14 Thread Andriy T. Yanko

Hi ALL!

I decided try tcpserver program for qmail services (smtpd & pop3d).
It's work properly but sometimes tcpserver strarting very slow
( more than 30 sec ! ).

When I used xinetd for starting qmail-smtpd & qmail-pop3d I never must wait
for starting it.

--- /etc/rc.d/rc.qmail ---
/usr/local/bin/tcpserver -H -R -v -u 514 -g 503 -x /etc/tcp.smtp.cdb 0 25 
/var/qmail/bin/qmail-smtpd \
2>> /var/log/qmail-smtp.log &

/usr/local/bin/tcpserver -H -R -v -x /etc/tcp.pop3.cdb 0 110 
/var/qmail/bin/qmail-popup mserver \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir  2>> /var/log/qmail-pop3.log &

--- end ---


What I do wrong?
Thx. 
-- 
Good Luck!  Andriy T. Yanko




Re: Slow start tcpserver

2001-05-14 Thread Patrick Starrenburg

Dear Andriy

I believe the -l switch should solve your problem as the other person 
mentioned. If you are getting into using tcpserver and the other services 
written by qmail's author you may wish to look at qmail-conf

http://www.din.or.jp/~ushijima/qmail-conf.html

as this does a nice job of setting up all configuration files and logging 
via multilog and you can look how the author sets up calling tcpserver. Read 
his docs though as the program does a complete setup which you may or may 
not wish to go with.

Good luck

Patrick

==
Hi ALL!

I decided try tcpserver program for qmail services (smtpd & pop3d).
It's work properly but sometimes tcpserver strarting very slow
( more than 30 sec ! ).

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Re: Slow start tcpserver

2001-05-14 Thread tonix (Antonio Nati)


Try to use the -l  parameter on tcpserver.

Tonino

At 14/05/2001 14/05/2001 +0300, Andriy T. Yanko wrote:
>Hi ALL!
>
>I decided try tcpserver program for qmail services (smtpd & pop3d).
>It's work properly but sometimes tcpserver strarting very slow
>( more than 30 sec ! ).
>
>When I used xinetd for starting qmail-smtpd & qmail-pop3d I never must wait
>for starting it.
>
>--- /etc/rc.d/rc.qmail ---
>/usr/local/bin/tcpserver -H -R -v -u 514 -g 503 -x /etc/tcp.smtp.cdb 0 25 
>/var/qmail/bin/qmail-smtpd \
>2>> /var/log/qmail-smtp.log &
>
>/usr/local/bin/tcpserver -H -R -v -x /etc/tcp.pop3.cdb 0 110 
>/var/qmail/bin/qmail-popup mserver \
>/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir  2>> 
>/var/log/qmail-pop3.log &
>
>--- end ---
>
>
>What I do wrong?
>Thx.
>--
>Good Luck!  Andriy T. Yanko
>
>+-+
>| E-mail: [EMAIL PROTECTED]ICQ# 83047775 Powered by 
>Linux |
>+-+
>




Slow start tcpserver

2001-05-14 Thread Andriy T. Yanko

Hi ALL!

I decided try tcpserver program for qmail services (smtpd & pop3d).
It's work properly but sometimes tcpserver strarting very slow
( more than 30 sec ! ).

When I used xinetd for starting qmail-smtpd & qmail-pop3d I never must wait
for starting it.

--- /etc/rc.d/rc.qmail ---
/usr/local/bin/tcpserver -H -R -v -u 514 -g 503 -x /etc/tcp.smtp.cdb 0 25 
/var/qmail/bin/qmail-smtpd \
2>> /var/log/qmail-smtp.log &

/usr/local/bin/tcpserver -H -R -v -x /etc/tcp.pop3.cdb 0 110 
/var/qmail/bin/qmail-popup mserver \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir  2>> /var/log/qmail-pop3.log &

--- end ---


What I do wrong?
Thx. 
-- 
Good Luck!  Andriy T. Yanko

+-+
| E-mail: [EMAIL PROTECTED]ICQ# 83047775 Powered by Linux |
+-+