OK, I've done some newbie-snooping and found that relay-ctrl-age wasn't
updating the database. I removed the path in the smtpcdb rules file, and
that fixed that. I then did a tcprulescheck and got:
----------------------------------------------------------------
[root@hoss /etc]# TCPREMOTEIP=64.161.212.206 tcprulescheck
/etc/tcpcontrol/smtp.
cdb
rule 64.161.212.206:
set environment variable RELAYCLIENT=
allow connection
[root@hoss /etc]#
----------------------------------------------------------------
In addition, I noted the the smtp.cdb file was being updated every minute
according to ls -l .
So now methinks I should be able to relay, no? no. Same message, "5.5.3
sorry, blah blah blah". OK, so then I stopped the relay-ctrl-age in the
cron, and manually compiled the smtp.cdb file from a text file according to
documentation (after allowing the spool file to expire, so that there was
nothing in the database referring to my dynamic IP). I got the exact same
result with tcprulescheck as above. I try relaying again, but no luck.
So the question is, doesn't this sound like a more fundamental issue than
relay-ctrl? Is there something perhaps with qmail that would disallow
relaying regardless of what the CDB database says?
thanks,
Bill
>From: Charles Cazabon <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Relay-ctrl and qmail
>Date: Tue, 27 Feb 2001 15:19:59 -0600
>
>Bill Isaacs <[EMAIL PROTECTED]> wrote:
> > Now that we're all in agreement on what relay-ctrl is, let me get
> > more specific about what is not happening for me with this package ;)
>[...]
> > I now check the cron log to make sure that relay-ctrl-age has run
> > since the timestamp on the above file:
> > -------------------------------
> > root (02/27-12:47:00-5529) CMD (/usr/sbin/relay-ctrl-age)
> > -------------------------------
> >
> > So far so good.
>[...]
> > So obviously, the database isn't being updated.
>
>Okay, lets see some information on the file itself. How about
> `ls -ld / /etc /etc/tcpcontrol /etc/tcpcontrol/*`
>
>Then, use tcprulescheck on the cdb file to see if that IP address is
>in there:
> `TCPREMOTEIP=1.2.3.4 tcprulescheck /etc/tcpcontrol/smtp.cdb`
>
>Replace 1.2.3.4 with the IP address of the machine you POP-checked your
>mail from immediately before doing the above steps.
>
>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.
>-----------------------------------------------------------------------
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com