RE: [exim] Local RBL

Página Inicial
Delete this message
Reply to this message
Autor: Tkachenko Alexei
Data:  
Para: exim-users
Assunto: RE: [exim] Local RBL
Peace be with you,


Thank you!..

But how can I combine this with using other RBLs?
Currently I have the following:
***********************
domainlist rbl_blacklist = lsearch;/etc/rbl_blacklist
domainlist rbl_bypass = lsearch;/etc/rbl_bypass
hostlist rbl_whitelist = lsearch;/etc/relayhosts :
partial-lsearch;/etc/rbl_whitelist

........................

#
### RBL List Begin
#
# Always accept mail to postmaster & abuse for any local domain
#
accept domains = +local_domains
local_parts = postmaster:abuse
#
# Check sending hosts against DNS black lists.
# Accept all locally generated messages
# Reject message if address listed in blacklist.
deny message = Rejected: $sender_host_address is blacklisted at
$dnslist_domain see $dnslist_text
!hosts = +relay_hosts
!authenticated = *
dnslists = list.dsbl.org : cbl.abuseat.org : bl.spamcop.net :
dnsbl.njabl.org : sbl.spamhaus.org
# RBL Bypass Local Domain List
!domains = +rbl_bypass
# RBL Whitelist incoming hosts
!hosts = +rbl_whitelist
#
### RBL List End
#


........................

# Deny and send notice to list of rejected domains.
reject_domains:
driver = redirect
# RBL Blacklist incoming hosts
domains = +rbl_blacklist
allow_fail
data = :fail: Connection rejected: SPAM source $domain is locally
blacklisted.

***********************

But I can't put IPs in the files "/etc/rbl_blacklist", "/etc/rbl_bypass" and
"/etc/rbl_whitelist" - but just domain names.
I don't want to block sender domains (it is not useful) - I want to block
certain Ips or ranges.


Alexey.


>> -----Original Message-----
>> From: Marc Haber [mailto:mh+exim-users@zugschlus.de]
>> Sent: Wednesday, May 18, 2005 06:32
>> To: exim-users@???
>> Subject: Re: [exim] Local RBL
>>
>> On Wed, 18 May 2005 00:39:26 +0300, "Tkachenko Alexei"
>> <alexei@???> wrote:
>> >I'd like to create local RBL (simple text file with IPs I
>> don't want to
>> >receive emails from and the same file for whitelist).
>> >
>> >I did not found any such topics on the exim site.
>> >Anybody can help me with it?
>>
>> acl_whitelist_local_deny:
>>   accept
>>     hosts = ${if exists{CONFDIR/local_host_whitelist}\
>>                  {CONFDIR/local_host_whitelist}\
>>                  {}}
>>   accept
>>     senders = ${if exists{CONFDIR/local_sender_whitelist}\
>>                    {CONFDIR/local_sender_whitelist}\
>>                    {}}

>>
>>   deny
>>     message = sender envelope address $sender_address is 
>> locally blacklisted here. If you think this is wrong, get in 
>> touch with postmaster
>>     !acl = acl_whitelist_local_deny
>>     senders = ${if exists{CONFDIR/local_sender_blacklist}\
>>                    {CONFDIR/local_sender_blacklist}\
>>                    {}}

>>
>>   deny
>>     message = sender IP address $sender_host_address is 
>> locally blacklisted here. If you think this is wrong, get in 
>> touch with postmaster
>>     !acl = acl_whitelist_local_deny
>>     hosts = ${if exists{CONFDIR/local_host_blacklist}\
>>                  {CONFDIR/local_host_blacklist}\
>>                  {}}

>>
>> This is significantly more than you want, but has the
>> advantage that I could do a simple cut&paste from the Debian
>> configuration.
>>
>> Greetings
>> Marc
>>
>> --
>> -------------------------------------- !! No courtesy 
>> copies, please !! -----
>> Marc Haber         |   " Questions are the         | 
>> Mailadresse im Header
>> Mannheim, Germany  |     Beginning of Wisdom "     | 
>> http://www.zugschlus.de/
>> Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: 
>> *49 621 72739834

>>
>>
>>