>You need to define which dnsbl you want to use. Like so:
>(watch the linewrap) each feature is one line)
>
>dnl Begin Blackhole lists
>FEATURE(dnsbl,`inputs.orbz.org', `Open Relay - see:
>http://www.orbz.org/sender.php')dnl
>FEATURE(dnsbl,`outputs.orbz.org', `Open Relay - see:
>http://www.orbz.org/sender.php')dnl
>FEATURE(dnsbl,`bl.spamcop.net', `Spam blocked see:
>http://spamcop.net/bl.shtml?$&{client_addr}')dnl
>FEATURE(dnsbl, `blackholes.mail-abuse.org', `Rejected - see
>http://www.mail-abuse.org/rbl/')dnl
>FEATURE(`delay_checks')dnl
>dnl End Blackhole lists
>
>- -D
I thought so too, but:
divert(0)
ifdef(`_DNSBL_R_',`dnl',`dnl
VERSIONID(`$Id: dnsbl.m4,v 8.18.16.1 2000/11/22 01:13:21 ca Exp $')')
divert(-1)
define(`_DNSBL_SRV_', `ifelse(len(X`'_ARG_),`1',`blackholes.mail-abuse.org',_ARG
_)')dnl
define(`_DNSBL_MSG_', `ifelse(len(X`'_ARG2_),`1',`"550 Mail from " $`'&{client_a
ddr} " refused by blackhole site '_DNSBL_SRV_`"',`_ARG2_')')dnl
divert(8)
# DNS based IP address spam list _DNSBL_SRV_
R$* $: $&{client_addr}
R::ffff:$-.$-.$-.$- $: <?> $(host $4.$3.$2.$1._DNSBL_SRV_. $: OK $)
R$-.$-.$-.$- $: <?> $(host $4.$3.$2.$1._DNSBL_SRV_. $: OK $)
R<?>OK $: OKSOFAR
R<?>$+ $#error $@ 5.7.1 $: _DNSBL_MSG_
divert(-1)
It is already defined in the dnsbl.m4 file. Of course, on the one is defined.
I put in your lines, moving blackholes first. I now get:
sendmail -bt -C /etc/sendmail.cf
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> .D{client_addr}127.0.0.1
> Basic_check_relay <>
Basic_check_rela input: < >
Basic_check_rela returns: OKSOFAR
> .D{client_addr}127.0.0.2
> Basic_check_relay <>
Basic_check_rela input: < >
Basic_check_rela returns: $# error $@ 5 . 7 . 1 $: Open Relay - see : http : / / www .
orbz . org / sender . php
It appears as if blackholes is not responding correctly, as it gets past them
and fails on orbz.
BTW, delay_checks is incompatible with 8.11, the version I'm running.
Thanks.
MB
--
e-mail: [EMAIL PROTECTED] It is God's job to forgive bin Laden.
It is our job to set up the meeting.
U.S. Marine Corp.
Visit - URL: http://www.vidiot.com/ (Your link to Star Trek and UPN)
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list