Re: rblsmtpd not recognizing -R flag

2001-03-03 Thread Todd A. Jacobs

On Sat, 3 Mar 2001, Chris Johnson wrote:

> If you're using the latest version of rblsmtpd--the one that comes
> with ucspi-tcp--there's no -R option. See
> http://cr.yp.to/ucspi-tcp/rblsmtpd.html

I guess the new syntax didn't make it into the man pages. Thanks for the
URL.

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD





Re: rblsmtpd not recognizing -R flag

2001-03-03 Thread Chris Johnson

On Sat, Mar 03, 2001 at 04:08:17PM -0800, Todd A. Jacobs wrote:
> I'm trying to run rblsmtd with protection if the lookup fails. According
> to both the rblsmtpd usage output and the man page, the -R flag should do
> this. However, tcpserver contains this log fragment:

If you're using the latest version of rblsmtpd--the one that comes with
ucspi-tcp--there's no -R option. See http://cr.yp.to/ucspi-tcp/rblsmtpd.html

Chris



Re: rblsmtpd not recognizing -R flag

2001-03-03 Thread Chris Johnson

On Sat, Mar 03, 2001 at 04:08:17PM -0800, Todd A. Jacobs wrote:
> And the undocumented -a flag is presumably the A record lookup enabled by
> the patch for rblsmtpd, right?

-a is not undocumented, and your presumption is incorrect.

> My /var/qmail/supervise/qmail-smtpd/run now looks like:
> 
> #!/bin/sh
> QMAILDUID=`id -u qmaild`
> NOFILESGID=`id -g qmaild`
> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> exec /usr/local/bin/softlimit -m 200 \
>   /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD"
> \
>   -u $QMAILDUID -g $NOFILESGID 0 smtp /usr/local/bin/rblsmtpd \
>   -rblackholes.mail-abuse.org -rdialups.mail-abuse.org \
>   -rinput.orbs.org -routput.orbs.org \
>   -arelays.mail-abuse.org /var/qmail/bin/qmail-smtpd 2>&1
> 
> And RSS and ORBS are still failing to block, but RBL and DUL work fine.

I don't know about ORBS, but since RSS doesn't provide a TXT record, you use
the -r option like this (exactly as I said in my previous message to you):

-r 'relays.mail-abuse.org:Open relay problem \
- see http://www.mail-abuse.org/cgi-bin/nph-rss?query=%IP%>'

Chris



rblsmtpd not recognizing -R flag

2001-03-03 Thread Todd A. Jacobs

I'm trying to run rblsmtd with protection if the lookup fails. According
to both the rblsmtpd usage output and the man page, the -R flag should do
this. However, tcpserver contains this log fragment:

@40003aa185e70678a39c rblsmtpd: illegal option -- R
@40003aa185e70678c2dc rblsmtpd: usage: rblsmtpd [ -b ] [ -R ]
[ -t timeout ] [ -r base ] [ -a base ] smtpd [ arg ... ]

And the undocumented -a flag is presumably the A record lookup enabled by
the patch for rblsmtpd, right?

My /var/qmail/supervise/qmail-smtpd/run now looks like:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD"
\
-u $QMAILDUID -g $NOFILESGID 0 smtp /usr/local/bin/rblsmtpd \
-rblackholes.mail-abuse.org -rdialups.mail-abuse.org \
-rinput.orbs.org -routput.orbs.org \
-arelays.mail-abuse.org /var/qmail/bin/qmail-smtpd 2>&1

And RSS and ORBS are still failing to block, but RBL and DUL work fine.

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD