RBL Config doesn"t seem to be working.

RBL Config doesn"t seem to be working.

am 08.11.2007 20:25:59 von carock

I set up a local rbldns server and added this configuration to my Sendmail.

FEATURE(`dnsbl', `uceprotect-bl.epconline.net', `"550 Mail from "
$&{client_addr} " rejected, see http://www.uceprotect.net/rblcheck.php?ipr="
$&{client_addr}')dnl

I see no queries on the rbldns log nor with tcpdump of port 53 traffic from
the Sendmail server.

I'm also running MailScanner with ClamAV and not SpamAssassin in that
config.

I also tried adding my local RBL to MailScanner and also do not see any
lookups via tcpdump nor rbldns log.

This is a FreeBSD 5.2 server with Sendmail 8.14.1 too if that matters.

Does anyone have any ideas why there are no lookups working with the
Sendmail config?

This was added to the cf file after I did the make, make install

sendmail.cf file
---------------
Line 66:
##### $Id: dnsbl.m4,v 8.28 2002/05/19 21:22:40 gshapiro Exp $ #####

Lines 186 and 187:
# map for DNS based blacklist lookups
Kdnsbl host -T


Lines 1135 - 1140
# DNS based IP address spam list uceprotect-bl.epconline.net
R$* $: $&{client_addr}
R$-.$-.$-.$- $: $(dnsbl
$4.$3.$2.$1.uceprotect-bl.epconline.net. $: OK $)
ROK $: OKSOFAR
R$+ $: TMPOK
R$+ $#error $@ 5.7.1 $: "550 Mail from " $&{client_addr}
" rejected, see http://www.uceprotect.net/rblcheck.php?ipr=" $&{client_addr}

That last block is after the block starting at line 1116 with:

SBasic_check_relay

Any help would be appreciated.

Thanks,
Chuck

Re: RBL Config doesn"t seem to be working.

am 09.11.2007 16:13:27 von pwadas

On 8 Lis, 19:25, "Chuck Rock" wrote:
> I set up a local rbldns server and added this configuration to my Sendmail.
>
> FEATURE(`dnsbl', `uceprotect-bl.epconline.net', `"550 Mail from "
> $&{client_addr} " rejected, seehttp://www.uceprotect.net/rblcheck.php?ipr="
> $&{client_addr}')dnl
>
> I see no queries on the rbldns log nor with tcpdump of port 53 traffic from
> the Sendmail server.
>
> I'm also running MailScanner with ClamAV and not SpamAssassin in that
> config.
>
> I also tried adding my local RBL to MailScanner and also do not see any
> lookups via tcpdump nor rbldns log.
>
> This is a FreeBSD 5.2 server with Sendmail 8.14.1 too if that matters.
>
> Does anyone have any ideas why there are no lookups working with the
> Sendmail config?
>
> This was added to the cf file after I did the make, make install
>
> sendmail.cf file
> ---------------
> Line 66:
> ##### $Id: dnsbl.m4,v 8.28 2002/05/19 21:22:40 gshapiro Exp $ #####
>
> Lines 186 and 187:
> # map for DNS based blacklist lookups
> Kdnsbl host -T
>
> Lines 1135 - 1140
> # DNS based IP address spam list uceprotect-bl.epconline.net
> R$* $: $&{client_addr}
> R$-.$-.$-.$- $: $(dnsbl
> $4.$3.$2.$1.uceprotect-bl.epconline.net. $: OK $)
> ROK $: OKSOFAR
> R$+ $: TMPOK
> R$+ $#error $@ 5.7.1 $: "550 Mail from " $&{client_addr}
> " rejected, seehttp://www.uceprotect.net/rblcheck.php?ipr=" $&{client_addr}
>
> That last block is after the block starting at line 1116 with:
>
> SBasic_check_relay
>
> Any help would be appreciated.
>
> Thanks,
> Chuck

here's my setting, which seems to work fine, (sendmail.mc file)

FEATURE(`enhdnsbl',`rbl.server.fqdn.com',`554 Reject $&{client_addr}
by http://some.info.site.com/',,)dnl

Note final commas - they implies existence of null-values arguments.
Regards,
Piotr

Re: RBL Config doesn"t seem to be working.

am 09.11.2007 22:48:57 von carock

I'm sorry, it was my stupidity...

I didn't understand how the RBL lookups worked.

I thought the sendmail process was using the RBL address in the config as
the address the lookups were going to. That's not how it works.

Basically is just does a DNS lookup using the server's configured DNS
settings. It creates the lookup string with the dnsbl setting and queries
the local DNS server.

I was looking for the DNS queries directly to the rbl dns server I set up
from the sendmail server.

I found the setup documentatoin on the NJABL web site much better than the
previous docs I found. That's what ended up helping me figure out what was
going on.

Thanks for the response.

Chuck


"DT" wrote in message
news:1194621207.361222.128000@e9g2000prf.googlegroups.com...
> On 8 Lis, 19:25, "Chuck Rock" wrote:
>> I set up a local rbldns server and added this configuration to my
>> Sendmail.
>>
>> FEATURE(`dnsbl', `uceprotect-bl.epconline.net', `"550 Mail from "
>> $&{client_addr} " rejected,
>> seehttp://www.uceprotect.net/rblcheck.php?ipr="
>> $&{client_addr}')dnl
>>
>> I see no queries on the rbldns log nor with tcpdump of port 53 traffic
>> from
>> the Sendmail server.
>>
>> I'm also running MailScanner with ClamAV and not SpamAssassin in that
>> config.
>>
>> I also tried adding my local RBL to MailScanner and also do not see any
>> lookups via tcpdump nor rbldns log.
>>
>> This is a FreeBSD 5.2 server with Sendmail 8.14.1 too if that matters.
>>
>> Does anyone have any ideas why there are no lookups working with the
>> Sendmail config?
>>
>> This was added to the cf file after I did the make, make install
>>
>> sendmail.cf file
>> ---------------
>> Line 66:
>> ##### $Id: dnsbl.m4,v 8.28 2002/05/19 21:22:40 gshapiro Exp $ #####
>>
>> Lines 186 and 187:
>> # map for DNS based blacklist lookups
>> Kdnsbl host -T
>>
>> Lines 1135 - 1140
>> # DNS based IP address spam list uceprotect-bl.epconline.net
>> R$* $: $&{client_addr}
>> R$-.$-.$-.$- $: $(dnsbl
>> $4.$3.$2.$1.uceprotect-bl.epconline.net. $: OK $)
>> ROK $: OKSOFAR
>> R$+ $: TMPOK
>> R$+ $#error $@ 5.7.1 $: "550 Mail from "
>> $&{client_addr}
>> " rejected, seehttp://www.uceprotect.net/rblcheck.php?ipr="
>> $&{client_addr}
>>
>> That last block is after the block starting at line 1116 with:
>>
>> SBasic_check_relay
>>
>> Any help would be appreciated.
>>
>> Thanks,
>> Chuck
>
> here's my setting, which seems to work fine, (sendmail.mc file)
>
> FEATURE(`enhdnsbl',`rbl.server.fqdn.com',`554 Reject $&{client_addr}
> by http://some.info.site.com/',,)dnl
>
> Note final commas - they implies existence of null-values arguments.
> Regards,
> Piotr
>