Re: Problems switching from tcpserver to tcpsvd

Gerrit Pape <[email protected]>
Newsgroups gmane.comp.misc.pape.general
Message-ID <[email protected]>
On Sun, Mar 06, 2005 at 02:48:44PM +0530, Rajkumar s wrote:
>           I had added the -u qmaild:nofiles option in the run file , 
> But the problem still persists , its repeatedly asking for password
> when i configure the account in outlook express and tried sending
> mails.

I suggest to test by other means than using the mail client to find out
what's going on; probably the patch to qmail you use includes some
documentation on how to test its functionality.

> I too think that the following lines exit 1
>    /Programs/Qmail/1.03/bin/qmail-smtpd \
>    /Programs/Qmail/1.03/bin/checkpassword /bin/true 2>&1

> run file is provided below:
> 
> exec tcpsvd -vv -t1800 \
>    -c100 -C'10:421 per host concurrency limit reached\r\n' \
>    -i/Programs/Qmail/1.03/etc/smtp \
>    -u qmaild:nofiles 202.144.28.164 25 \
>    /Programs/Qmail/1.03/bin/qmail-smtpd \
>    /Programs/Qmail/1.03/bin/checkpassword /bin/true 2>&1

You could check whether the ipsvd instruction work as indended by
dumping the environment to the log, with tcpsvd, and with tcpserver, to
compare them, e.g.

 exec tcpsvd -vv -t1800 \
    -c100 -C'10:421 per host concurrency limit reached\r\n' \
    -i/Programs/Qmail/1.03/etc/smtp \
    -u qmaild:nofiles 202.144.28.164 25 \
    sh -c 'env >&2; exec /Programs/Qmail/1.03/bin/qmail-smtpd \
    /Programs/Qmail/1.03/bin/checkpassword /bin/true' 2>&1

Or dump and compare a system call trace, e.g. under linux

 exec tcpsvd -vv -t1800 \
    -c100 -C'10:421 per host concurrency limit reached\r\n' \
    -i/Programs/Qmail/1.03/etc/smtp \
    -u qmaild:nofiles 202.144.28.164 25 \
    strace -f -o/tmp/trace /Programs/Qmail/1.03/bin/qmail-smtpd \
    /Programs/Qmail/1.03/bin/checkpassword /bin/true 2>&1

HTH, Gerrit.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.