#3487: RBL support for trac~0.9.6
------------------------------------+---------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  jonas
     Type:  enhancement             |      Status:  new  
 Priority:  normal                  |   Milestone:       
Component:  general                 |     Version:  0.9.6
 Severity:  normal                  |    Keywords:       
------------------------------------+---------------------------------------
 I'd like to share my RBL implementation for trac~0.9.6. See the attached
 patch.

 It is inactive as long as you don't provide any RBLs in
 {{{conf/trac.ini}}}:
 {{{
 [trac]
 rbl = sbl-xbl.spamhaus.org,cbl.abuseat.org
 }}}

 Unfortunately I don't know how to obtain {{{req}}} or the remote IP of
 current client in trac. Therefore I have had to hack
 {{{modpython_frontend.py}}} to store this value in
 {{{os.environ['REMOTE_IP']}}}. Corrections are welcome.

-- 
Ticket URL: <http://trac.edgewall.org/ticket/3487>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to