well, first off, if you're running the script i'm thinking you are, it looks
for qmail-smtpd.cdb, not qmail-smtp.cdb.  note the trailing d on smtpd.
these are the scripts written by Mate Wierdl i believe, we use the same ones
here, and that's what they look for on our boxes.

secondly, as Chris already mentioned, the process output you showed us
clearly indicated that regardless of what's in your script, tcpserver is NOT
running with the -x option.  so you might want to try running it from the
command line to get the options right before you run it with a script.

also, the man page states that "10.1.2." (with a trailing dot) is the
appropriate wildcard syntax to match everything in net 10.1.2.0/24, but
"10.1.2" is not correct syntax for anything.  running tcprulescheck will
verify this.

the 533 error is undoubtedly related to one of the above reasons.  because
tcpserver is NOT running with -x, it has no cdb to look at, and therefore it
does not add the RELAYCLIENT variable to each instance of qmail-smtpd.  this
is giving you the relaying error.

fix your script/invocation of tcpserver and check your tcprules.

shag
=====
Judd Bourgeois        |   CNM Network      +1 (805) 520-7170
Software Architect    |   1900 Los Angeles Avenue, 2nd Floor
[EMAIL PROTECTED]   |   Simi Valley, CA 93065

Quidquid latine dictum sit, altum viditur.

----- Original Message -----
From: Paul Farber <[EMAIL PROTECTED]>
To: Chris Johnson <[EMAIL PROTECTED]>
Cc: qmail mailing list <[EMAIL PROTECTED]>
Sent: Wed 8 Sep 1999 17.47
Subject: Re: RCPTHOSTS and 533 "Not in rcpthosts"


> Acutally the qmail-iniit script will check of the presence of
> qmail-smtp.cdb then add the -x option.. I'll assume you are not using a
> sysV based system.
>
> As for the trailing ., I have one line with it and one with... works fine
> either way.
>
> Also, tcpserver will not reply with a 533 error... that's generated by
> qmail.  tcpserver will simple not allow the connection.
>
> Paul D. Farber II
> Farber Technology
> Ph. 570-628-5303
> Fax 570-628-5545
> [EMAIL PROTECTED]
>
> On Wed, 8 Sep 1999, Chris Johnson wrote:
>
> > On Wed, Sep 08, 1999 at 05:33:53PM -0400, Paul Farber wrote:
> > > I had a qmail-smtp file with the class
> > >
> > > 209.173.3:allow,RELAYCLIENT=""
> > >
> > > And then made the cdb file.  Still no go.
> >
> > It should be:
> >
> > 209.173.3.:allow,RELAYCLIENT=""
> >
> > (Note the trailing ".")
> >
> > But here's how you're starting tcpserver:
> >
> > tcpserver -v -H -R -c100 -u81 -g80 0 smtp qmail-smtpd
> >
> > So you can put anything you like in your rules file, and it won't have
any
> > effect whatsoever. You need to supply the rules file to tcpserver with
the -x
> > option.
> >
> > Chris
> >
>
>

Reply via email to