On Fri, Jul 28, 2000 at 06:39:18PM -0400, Adam McKenna wrote:
> On Fri, Jul 28, 2000 at 03:30:34PM -0700, Jon Rust wrote:
> [...]
> > I thought it was supposed to spit out the contents of RBLSMTPD? And no
> > 553 either. What did I miss? (I tried with both a space after the hyphen
> > and without.)
>
> Nope. If RBLSMTPD is set, rblsmtpd skips the RBL check.
>
> --Adam
I don't think we're on the same page here. If the environment variable
RBLSMTPD is set to something besides an empty string, it should give an
error code, either 4xx or 5xx depending on command line options, and
whether or not the var starts with a hyphen. It's not doing that.
I quote from the rblsmtpd man page:
"If $RBLSMTPD is set and is empty, rblsmtpd does not block mail.
"Normally, if $RBLSMTPD is set, rblsmtpd uses a 451 error code in its
limited SMTP conversation. This tells legitimate clients to try again
later. It gives innocent relay operators a chance to see the problem,
prohibit relaying, get off the RBL, and get the mail delivered.
"However, if $RBLSMTPD begins with a hyphen, rblsmtpd removes the hyphen
and uses a 553 error code. This tells legitimate clients to bounce the
message immediately."
The last paragraph is what I'm trying to achieve. Any help there?
jon