Re: Problems switching from tcpserver to tcpsvd

Rajkumar s <[email protected]>
Newsgroups gmane.comp.misc.pape.general
Message-ID <[email protected]>
Dear sir,
          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 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

Do you know some other means how would i log the smtp conversation messages.

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


Smtp logs are provided below:

2005-03-06_19:04:13.54906 tcpsvd: info: listening on
202.144.28.164:25, uid 1003, gid 103, starting.
2005-03-06_19:05:20.00572 tcpsvd: info: status 1/100
2005-03-06_19:05:20.00577 tcpsvd: info: pid 879 from 221.134.42.5
2005-03-06_19:05:20.00630 tcpsvd: info: concurrency 879 221.134.42.5 1/10
2005-03-06_19:05:20.00631 tcpsvd: info: start 879
mail.tenet.res.in:202.144.28.164 ::221.134.42.5:3028
2005-03-06_19:05:25.09916 tcpsvd: info: end 879 exit 1

Sincerely,
S.Rajkumar


On Sun, 6 Mar 2005 06:43:44 +0000, Gerrit Pape <[email protected]> wrote:
> 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.