Re: Problems switching from tcpserver to tcpsvd
Rajkumar s <[email protected]>
| Newsgroups | gmane.comp.misc.pape.general |
|---|---|
| Message-ID | <[email protected]> |
Dear sir,
The Option -t is the timeout to find last access of file, i had
set it for 30 minutes (1800 secs) fine i had removed this option ,
The Problem was with gid ,so i had removed the "-u qmaild:nofiles"
from my run file. and included only " -u qmaild "
Since the gid overide the uid , the instructions were not able to be
read , now all the instructions got included in the logs.You can
notice this from log messages enclosed below.
But still from the logs you can find exit 111 .
Is the exit code 111 from tcpsvd or checkpassword , For checkpassword
(exit 111 means there is some temprovary problem).
Even with this exit code , there is no problem if mails are sent
through command prompt (using telnet).
The problem is when i configure the account in mail client it is not
getting authorised , it's keep on asking for password .
What might be the problem.
2005-03-11_05:25:02.80670 tcpsvd: info: listening on
202.144.28.164:25, uid 1003, gid 103, starting.
2005-03-11_05:25:22.19231 tcpsvd: info: status 1/100
2005-03-11_05:25:22.19245 tcpsvd: info: pid 25465 from 221.134.42.231
2005-03-11_05:25:22.19297 tcpsvd: info: concurrency 25465 221.134.42.231 1/10
2005-03-11_05:25:22.19297 tcpsvd: info: start 25465
mail.tenet.res.in:202.144.28.164 ::221.134.42.231:1412
/Programs/Qmail/1.03/etc/smtp/0:
+SPF=1,+MAXBOUNCERCPTS=1,+QMAILQUEUE=bin/qmail-queue.scan
2005-03-11_05:25:22.19531 CONSOLE=/dev/console
2005-03-11_05:25:22.19533 TERM=linux
2005-03-11_05:25:22.19533 TCPLOCALHOST=mail.tenet.res.in
2005-03-11_05:25:22.19533 QMAILQUEUE=bin/qmail-queue.scan
2005-03-11_05:25:22.19533 INIT_VERSION=sysvinit-2.84
2005-03-11_05:25:22.19534 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin
2005-03-11_05:25:22.19535 vga=0
2005-03-11_05:25:22.19535 RUNLEVEL=3
2005-03-11_05:25:22.19536 PWD=/Programs/Qmail/1.03/supervise/qmail-smtpd
2005-03-11_05:25:22.19536 MAXBOUNCERCPTS=1
2005-03-11_05:25:22.19536 TCPCONCURRENCY=1
2005-03-11_05:25:22.19536 PROTO=TCP
2005-03-11_05:25:22.19537 TCPREMOTEIP=221.134.42.231
2005-03-11_05:25:22.19537 PREVLEVEL=N
2005-03-11_05:25:22.19537 acpi=off
2005-03-11_05:25:22.19537 TCPLOCALPORT=25
2005-03-11_05:25:22.19538 TCPLOCALIP=202.144.28.164
2005-03-11_05:25:22.19538 HOME=/
2005-03-11_05:25:22.19538 SHLVL=1
2005-03-11_05:25:22.19538 TCPREMOTEPORT=1412
2005-03-11_05:25:22.19539 SPF=1
2005-03-11_05:25:22.19539 _=/usr/local/sbin/env
2005-03-11_05:25:45.26246 tcpsvd: info: end 25465 exit 111
2005-03-11_05:25:45.26247 tcpsvd: info: status 0/100
Sincerely,
S.Rajkumar
On Thu, 10 Mar 2005 13:59:02 +0000, Gerrit Pape <[email protected]> wrote:
> On Tue, Mar 08, 2005 at 11:14:33AM -0800, Rajkumar s wrote:
> > I had dumped all those to logs , but from the logs i found
> > the the message "access denied" , will there may be any permission
> > problems.
>
> > 2005-03-09_06:05:54.20285 tcpsvd: info: status 1/100
> > 2005-03-09_06:05:54.20295 tcpsvd: info: pid 7229 from 202.144.28.163
> > 2005-03-09_06:05:54.20342 tcpsvd: warning: unable to unlink:
> > /Programs/Qmail/1.03/etc/smtp/202.144.28.163: access denied
> > 2005-03-09_06:05:54.20346 tcpsvd: warning: unable to unlink:
> > /Programs/Qmail/1.03/etc/smtp/0: access denied
> > 2005-03-09_06:05:54.20348 tcpsvd: info: concurrency 7229 202.144.28.163 1/10
> > 2005-03-09_06:05:54.20348 tcpsvd: info: start 7229
> > mail.tenet.res.in:202.144.28.164 ::202.144.28.163:51272
>
> The client based instructions aren't applied because they timed out.
> Any reason why you use the -t option to tcpsvd? See the man page on
> what that option does, I don't think you want it. The 202.144.28.163
> file would have been removed if the qmaild user had write permissions to
> the instructions directory; failing that, it has been discarded.
>
> Regards, Gerrit.
>