Hi,

Charles Cazabon wrote:

> John Anderson <[EMAIL PROTECTED]> wrote:
> >
> > > What output does the following command produce?
> > >
> > >     TCPREMOTEIP=192.168.1.1 tcprulescheck /etc/tcp.smtp.cdb
> >
> > # TCPREMOTEIP=192.168.1.1 ./tcprulescheck /etc/tcp.smtp.cdb
> > rule 192.168.:
> > set environment variable RELAYCLIENT=
> > allow connection
>
> Everything fine so far.
>
> > It looks like I should be able to relay, but cannot.
>
> The .cdb file is correct; we've verified it.  The problem is therefore one
> of the following:
>
>     -you're not actually running qmail-smtpd from tcpserver

(PATH=/usr/local/qmail/bin; /usr/local/bin/tcpserver -x/etc/tcp.smtp.cdb -v -c40
-u601 -g625
0 smtp qmail-smtpd 2>&1 | splogger smtpd & )

>     -your tcpserver invocation for qmail-smtpd is not referring to this .cdb

I've got tcp.smtp.cdb in both /etc and /usr/local/etc/ip.  I left a copy in
/etc, changed the startup script, and restarted tcpserver.

>     -tcpserver can't read this .cdb

I chmoded the file to 777

>     -your connections are actually coming from IP address you haven't set  the
> rules for

In the last email I posted (with the results of tcprules), the second IP I
tested is the IP of my box.

> Please post the script you're starting tcpserver/qmail-smtpd with.  I think
> you did this early on, but I don't remember its contents.

I posted the line for qmail-smtpd with, I can post the entire script if you'd
like.

> Did you edit this script?  If so, did you remember to stop and re-start
> tcpserver?

Yes and Yes.

> Are there any log messages from tcpserver?

This is it:
>>
Apr  4 12:51:48 localhost smtpd: 986403108.545991 tcpserver: status: 1/40
Apr  4 12:51:48 localhost smtpd: 986403108.546582 tcpserver: pid 18906 from
209.114.187.226
Apr  4 12:51:48 localhost smtpd: 986403108.563452 tcpserver: ok 18906
:209.114.187.227:25 :209.114.18
7.226::62174
Apr  4 12:51:48 localhost smtpd: 986403108.566188 tcpserver: end 18906 status 0
Apr  4 12:51:48 localhost smtpd: 986403108.566510 tcpserver: status: 0/40
>>

Thanks.


--John



>
>
> Charles
> --
> -----------------------------------------------------------------------
> Charles Cazabon                            <[EMAIL PROTECTED]>
> GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
> Any opinions expressed are just that -- my opinions.
> -----------------------------------------------------------------------

--
John Anderson
[EMAIL PROTECTED]
Ceeva, Inc.
412.690.2300 x330


Reply via email to