You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Al Stu <Al...@SimonSlick.com> on 2008/02/24 07:18:24 UTC

DNS RBL Handler Not Working?

When I enable the DNS RBL handler in the smtp handler chain james says my 
address is allowed to relay and does not check the DNS RBL's (see smtpserver 
log below).
I know my address is in the spamhaus PBL because I've checked.  So how do I 
stop james from thinking my address is allowed to relay, and perform the DNS 
RBL's check?

Thanks
James 2.3.1

smtpserver*.log:

24/02/08 05:59:44 INFO  smtpmtaserver: Connection from 
pool-d-d-d-d.cityst.srvtype.isp.net (d.d.d.d)
24/02/08 05:59:44 INFO  smtpmtaserver: Ipaddress d.d.d.d is allowed to 
relay. Don't check it


james-smtphandlerchain.xml:

   <handler class="org.apache.james.smtpserver.DNSRBLHandler">
      <rblservers>
         <blacklist> zen.spamhaus.org. </blacklist>
      </rblservers>
   </handler>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: DNS RBL Handler Not Working?

Posted by Al Stu <Al...@SimonSlick.com>.
Thanks Stefano,

So in the case of both authRequired and authorized Addresses being commented
out it would seem all addresses default to being authorized to relay.  This
seems somewhat backwards.  Would think with it being commented out that no
addresses would be authorized to relay.

<!-- <authRequired>true</authRequired> -->
<!-- <authorizedAddresses>127.0.0.0/8</authorizedAddresses> -->


----- Original Message ----- 
From: "Stefano Bagnara" <ap...@bago.org>
To: "James Users List" <se...@james.apache.org>
Sent: Monday, February 25, 2008 12:47 AM
Subject: Re: DNS RBL Handler Not Working?


Check your authorizedAddresses settings.
If you send a message from an IP in the authorizedAddresses then most
check will be skipped.

Stefano

Al Stu ha scritto:
> When I enable the DNS RBL handler in the smtp handler chain james says my
> address is allowed to relay and does not check the DNS RBL's (see 
> smtpserver
> log below).
> I know my address is in the spamhaus PBL because I've checked.  So how do 
> I
> stop james from thinking my address is allowed to relay, and perform the 
> DNS
> RBL's check?
>
> Thanks
> James 2.3.1
>
> smtpserver*.log:
>
> 24/02/08 05:59:44 INFO  smtpmtaserver: Connection from
> pool-d-d-d-d.cityst.srvtype.isp.net (d.d.d.d)
> 24/02/08 05:59:44 INFO  smtpmtaserver: Ipaddress d.d.d.d is allowed to
> relay. Don't check it
>
>
> james-smtphandlerchain.xml:
>
>    <handler class="org.apache.james.smtpserver.DNSRBLHandler">
>       <rblservers>
>          <blacklist> zen.spamhaus.org. </blacklist>
>       </rblservers>
>    </handler>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: DNS RBL Handler Not Working?

Posted by Stefano Bagnara <ap...@bago.org>.
Check your authorizedAddresses settings.
If you send a message from an IP in the authorizedAddresses then most 
check will be skipped.

Stefano

Al Stu ha scritto:
> When I enable the DNS RBL handler in the smtp handler chain james says my 
> address is allowed to relay and does not check the DNS RBL's (see smtpserver 
> log below).
> I know my address is in the spamhaus PBL because I've checked.  So how do I 
> stop james from thinking my address is allowed to relay, and perform the DNS 
> RBL's check?
> 
> Thanks
> James 2.3.1
> 
> smtpserver*.log:
> 
> 24/02/08 05:59:44 INFO  smtpmtaserver: Connection from 
> pool-d-d-d-d.cityst.srvtype.isp.net (d.d.d.d)
> 24/02/08 05:59:44 INFO  smtpmtaserver: Ipaddress d.d.d.d is allowed to 
> relay. Don't check it
> 
> 
> james-smtphandlerchain.xml:
> 
>    <handler class="org.apache.james.smtpserver.DNSRBLHandler">
>       <rblservers>
>          <blacklist> zen.spamhaus.org. </blacklist>
>       </rblservers>
>    </handler>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org