Re: Problems switching from tcpserver to tcpsvd

Gerrit Pape <[email protected]>
Newsgroups gmane.comp.misc.pape.general
Message-ID <20050306064217.18926.qmail@49f6cd19dd0a79.315fe32.mid.smarden.org>
On Sat, Mar 05, 2005 at 03:52:42AM -0800, Rajkumar s wrote:
>           I had installed qmail and presently i'm using tcpserver for
> listening incoming connections and i need to switch to tcpsvd , but
> while switching i found some difficulties.

> The tcpserver which listens for incoming connections invokes the
> qmail-smtpd , i had configured qmail with auth smtp ,
> 
> The File is shown below and this works fine

> In the process of switching to tcpsvd from tcpserver , I had followed
> these steps
[...]

Hi, your conversion from tcpserver's rules file to tcpsvd's instructions
directory looks fine, I note a difference in how you start up tcpserver
and tcpsvd though: for tcpserver you use the -u and -g options to have
the qmail-smtpd process chain started as non root.  Does it help if you
add the -uqmaild option to tcpsvd in the run file to do the same?

> Unsuccessful:
> 
> When sending mail from this domain to outside configuring the account
> in mail client or sending to the same domain itself
> 
> 2005-03-05_21:30:15.31786 tcpsvd: info: pid 14209 from 59.92.8.61
> 2005-03-05_21:30:15.31833 tcpsvd: info: concurrency 14209 59.92.8.61 1/10
> 2005-03-05_21:30:15.31833 tcpsvd: info: start 14209
> mail.tenet.res.in:202.144.28.164 ::59.92.8.61:1059
> 2005-03-05_21:30:27.43291 tcpsvd: info: end 14209 exit 1
> 2005-03-05_21:30:27.43292 tcpsvd: info: status 0/100

This tells that for this connection qmail-smtpd, the checkpassword
program, or maybe $QMAILQUEUE, exited with return code 1.  I don't know
the patches you applied to qmail, so I'm not sure.  Maybe you can enable
logging somehow to find out why `/Programs/Qmail/1.03/bin/qmail-smtpd
/Programs/Qmail/1.03/bin/checkpassword /bin/true` fails and exits 1.

Regards, 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.