[exim] Direct lookups on an RBL

Top Page
Delete this message
Reply to this message
Author: Phil \(Medway Hosting\)
Date:  
To: Exim Users List
Subject: [exim] Direct lookups on an RBL
Hi All

I used 6 RBL's as total blocks on my servers. I want to be able to have one of those (2 actual zones) do "direct lookups" instead of using normal DNS processes while the other 4 function normally. Is this possible please ? (List names changed to "someblacklist.com" below).

Current config is as follows:

############################################################
#**#
#**# RBL List Begin
#**#
#
#
# Check sending hosts against DNS black lists.
# Accept all locally generated messages
# Reject message if address listed in blacklist.
deny message = Message rejected because $sender_fullhost is blacklisted at $dnslist_domain see $dnslist_text :
!hosts = +relay_hosts
!authenticated = *
dnslists = zen.spamhaus.org : \
           dul.dnsbl.sorbs.net : \
     combined.njabl.org : \
     list.dsbl.org : \
     list1.someblacklist.com : \
     list2.someblacklist.com


# RBL Bypass Local Domain List
!domains = +rbl_bypass
# RBL Whitelist incoming hosts
!hosts = +rbl_whitelist
############################################################
#
# Always accept mail to postmaster & abuse for any local domain
#
# This bit was originally before the RBL check above however
# it IS generally acceptable to do some checking on abuse addresses
# to cut down on spam from known spamming IPs and hijacked
# IP space.
############################################################
#
accept domains = +local_domains
local_parts = postmaster:abuse
#
#
#**#
#**# RBL List End
#**#
############################################################

Many thanks

Phil

_____________________________________________

Website Hosting from only £5.00 per month.
www.medwayhosting.com - +44 (0)1634 856965
_____________________________________________

Digital & Traditional Printing, and much more
www.medwayprint.com - +44 (0)1634 281199
_____________________________________________From stuart@??? Mon Sep 17 11:50:06 2007
Envelope-to: exim-users@???
Received: from munkustrap.aleph.gr ([62.103.163.154]:43458)
    by tahini.csx.cam.ac.uk with esmtp (Exim 4.67)
    (envelope-from <stuart@???>) id 1IXEB0-0008JP-2G
    for exim-users@???; Mon, 17 Sep 2007 11:50:05 +0100
Received: from serial.aleph.gr ([62.103.170.3] helo±92.168.251.21])
    by munkustrap.aleph.gr with esmtpa (Exim 4.50) id 1IXEAu-0001z5-Ue
    for exim-users@???; Mon, 17 Sep 2007 13:49:57 +0300
Mime-Version: 1.0 (Apple Message framework v752.2)
Content-Transfer-Encoding: 7bit
Message-Id: <33D49AE0-797C-4772-BCB3-CECD3B651847@???>
Content-Type: text/plain; charset£-ASCII; delspžs; format\owed
To: exim users <exim-users@???>
From: Stuart Gall <stuart@???>
Date: Mon, 17 Sep 2007 13:49:56 +0300
X-Mailer: Apple Mail (2.752.2)
X-Spam-Score: -1.9 (-)
X-Spam-Status: No, scoreÑ.9 required~0 tests÷LÐ.625, BAYES_00Ñ.5,
    DNS_FROM_RFC_ABUSE.2 autolearnO version^1.8
Subject: [exim] acl_smtp_rcpt envelope to ?
X-BeenThere: exim-users@???
X-Mailman-Version: 2.1.7
Precedence: list
List-Id: A user list for the exim MTA <exim-users.exim.org>
List-Unsubscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
    <mailto:exim-users-request@exim.org?subject¾subscribe>
List-Archive: <http://lists.exim.org/lurker/list/exim-users.html>
List-Post: <mailto:exim-users@exim.org>
List-Help: <mailto:exim-users-request@exim.org?subjectŽlp>
List-Subscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
    <mailto:exim-users-request@exim.org?subject¥bscribe>
X-List-Received-Date: Mon, 17 Sep 2007 10:50:06 -0000


Hello,
I cant find an expansion variable that works in the acl_smtp_rcpt ACL
which contains the current Envelope Recipient or all the recipients
so far.

I want to use this in a greylist pending file. Because I am getting
greylist entries approved when a spam goes to XYZ@??? then a bit
later spam from the same host with the same sender goes to ABC@???.

Thanks
Stuart.