Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RBL Patch for 104

0 views
Skip to first unread message

Mark Morley

unread,
Jan 22, 1999, 3:00:00 AM1/22/99
to
I've been experimenting with the various RBL databases that are currently
available and wound up writing this little patch for Smail 3.2.0.104. The
only other patch I could find was for 102 and it doesn't support multiple
RBL databases or an IP exclusion list.

Here's the readme in case anyone is interested in it.

Mark

======================================================================

An RBL patch for Smail 3.2.0.104
By Mark Morley (ma...@islandnet.com)
January 22, 1999

No warranties, no guarantees, etc, etc, etc.

Based in part on a patch for .102 by bo...@wasatch.com and j...@reptiles.org

http://www.islandnet.com/mark/smail-rbl-patch.tar

This patch is relative to the directory above the "src" directory and
modifies the following files in the "src" subdirectory:

config.c
extern.h
smailconf.c
smtprecv.c

It adds two new config file options to control access to your mail
server based on one or more RBL databases.

rbl_ignore is a string that lists IP numbers (same format as the
smtp_remote_allow) that should NOT be tested against any
RBL servers. You may want to list your own IPs here if
there is any chance they may show up in an RBL database.

rbl_list is a string that lists server/message pairs. If the IP number
of the current connection is listed in the server's database,
the connection is rejected with a 550 error code. The message
part is included in the rejection message as well as the log
file entry. Multiple server/message pairs are delimited with
a "pipe" or "bar".

Example:

rbl_ignore=199.175.106.*:199.175.107.*

rbl_list=dul.orca.bc.ca/http://www.orca.bc.ca/dul|\
rbl.maps.vix.com/http://maps.vix.com|\
relays.orbs.org/http://www.orbs.org

In this example we don't bother performing an RBL lookup for the 199.175.106
and 199.175.107 networks. Any other IP number is tested against three
different RBL databases (DUL, MAPS, and ORBS). Note the vertical "pipe"
character that delimits each server/message pair, and note the slash
after the server name.

Sample log file entries would look like this:

01/22/1999 00:50:35: connection rejected from 216.115.79.1: http://maps.vix.com
01/22/1999 00:51:06: connection rejected from 12.74.11.220: http://www.orca.bc.ca/dul

The sender will see errors like these:

550 Connection rejected: http://maps.vix.com
550 Connection rejected: http://www.orca.bc.ca/dul


Dan Wilder

unread,
Jan 23, 1999, 3:00:00 AM1/23/99
to
On Fri, Jan 22, 1999 at 01:40:29AM -0800, Mark Morley wrote:
> I've been experimenting with the various RBL databases that are currently
> available and wound up writing this little patch for Smail 3.2.0.104. The
> only other patch I could find was for 102 and it doesn't support multiple
> RBL databases or an IP exclusion list.

Are any of these RBL databases actively updated, any more?

--
Dan Wilder <d...@gasboy.com>


0 new messages