I want to run the IP addresses from the Received: lines in a message header
through something like rblsmtpd to block spam that was relayed to me. So I
got all ready to set up my system-wide filters when I realised that DJB
didn't split rblsmtpd up into smaller pieces (joke) ... so I wondered if
anyone else thought it would be beneficial to have one program that did the
lookups against the RBL, etc., and have rblsmtpd run it to do those lookups,
as well as other programs that wanted to.
Instead of: Connection -> rblsmtpd (do lookup) -> send back brief SMTP
message.
Have: Connection -> rblsmtpd -> send back brief SMTP message.
|
rblcheck(?) (do lookup)
This way, other filters could call rblcheck (better name?) as well. Just
wondering if I've missed the boat on why this would be a bad idea, or if it
just hasn't been done yet.
Sample headers ...
---
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 25872 invoked from network); 21 Sep 2000 11:39:27 -0000
Received: from gw2.fibrespeed.net ([EMAIL PROTECTED])
by web.fibrespeed.net with QMQP; 21 Sep 2000 11:39:27 -0000
Received: from growl.pobox.com (208.210.124.27)
by gw.fibrespeed.net with SMTP; 21 Sep 2000 11:39:27 -0000
Received: from growl.pobox.com (localhost [127.0.0.1])
by growl.pobox.com (Postfix) with ESMTP id 53F6014F46
for <[EMAIL PROTECTED]>; Thu, 21 Sep 2000 07:38:27 -0400 (EDT)
Received: from web.yn-tobacco.com (unknown [202.98.189.88])
by growl.pobox.com (Postfix) with ESMTP id B9CA914D34
for <[EMAIL PROTECTED]>; Thu, 21 Sep 2000 07:38:16 -0400 (EDT)
Received: from mickey (tnt6-szb.szptt.net.cn [202.104.105.8]) by
web.yn-tobacco.com with SMTP (Microsoft Exchange