Re: [Exim] RBL feature not working

Pàgina inicial
Delete this message
Reply to this message
Autor: Hiep Nguyen
Data:  
A: Hiep Nguyen
CC: exim-users, exim-users-admin
Assumpte: Re: [Exim] RBL feature not working



heres the output i get when i run exim -bh

# ./exim -bh 80.117.16.25

**** SMTP testing session as if from host 80.117.16.25
**** but without any ident (RFC 1413) callback.
**** This is not for real!

>>> host in host_lookup? yes (matched "*")
>>> looking up host name for 80.117.16.25
>>> IP address lookup yielded host25-16.pool80117.interbusiness.it
>>> gethostbyname looked up these IP addresses:
>>> name=host25-16.pool80117.interbusiness.it address=80.117.16.25
>>> checking addresses for host25-16.pool80117.interbusiness.it
>>> 80.117.16.25
>>> host in host_reject_connection? no (option unset)
>>> host in sender_unqualified_hosts? no (option unset)
>>> host in recipient_unqualified_hosts? no (option unset)
>>> host in helo_verify_hosts? no (option unset)
>>> host in helo_try_verify_hosts? no (option unset)
>>> host in helo_accept_junk_hosts? no (option unset)

220 sp1.varsityspirit.com ESMTP Exim 4.14 Mon, 01 Mar 2004 12:13:12 -0600

Thanks,
Hiep Nguyen
901.213.5357



             Hiep Nguyen
             <HNguyen@varsitys
             pirit.com>                                                 To
             Sent by:                  exim-users@???
             exim-users-admin@                                          cc
             exim.org
                                                                   Subject
                                       [Exim] RBL feature not working
             03/01/2004 08:42
             AM













could someone check my config file. MY RBL isnt working correctly. I
cant gett the server to block any email from know spam locations.

I am running exim 4.14

im getting bombarded as i type this. Any help or comments are appreciated.


######################################################################
#                    MAIN CONFIGURATION SETTINGS                     #
######################################################################



primary_hostname = sp1.domain.com

domainlist relay_to_domains = domain1 : \
                                domain2 : \
                                domain3 : \


#hostlist relay_from_hosts = /usr/exim/filter/relayhosts
#domainlist relay_from_hosts = 127.0.0.1

hostlist relay_from_hosts = 127.0.0.1
hostlist blocked_ip = /usr/exim/filter/blocked_ip
hostlist blocked_hosts = /usr/exim/filter/blocked_host
hostlist rbl_hosts = ! 172.17.0.0/16 : 172.20.0.0/16


acl_smtp_rcpt = acl_check_rcpt
acl_smtp_data = acl_check_data



helo_allow_chars = _



ignore_bounce_errors_after = 2d



timeout_frozen_after = 7d

#SMTP MAX
smtp_accept_max = 100

##############################
#!!#This is the system filter#
##############################
system_filter = /usr/exim/filter/exim.filter

#!!# message_filter_file_transport renamed system_filter_file_transport
system_filter_file_transport = address_file


######################################################################
#                       ACL CONFIGURATION                            #
#         Specifies access control lists for incoming SMTP mail      #
######################################################################


begin acl
acl_check_rcpt:
deny    local_parts   = ^.*[@!/|] : ^\\.
#deny    local_parts   = ^.*[@%!/|] : ^\\.
accept  local_parts   = /usr/exim/local
#         domains       = +local_domains
         domains       = +relay_to_domains
deny hosts = +rbl_hosts
#    message       = rejected because $sender_host_address is in a black
list at $dnslist_domain\n$dnslist_text
#     dnslists      = sbl.spamhaus.org=127.0.0.2 : \
#                               relays.ordb.org : \
#                               lists.dsbl.org : \
#                               orbs.dorkslayers.com : \
#                               dnsbl.njabl.org=127.0.0.4


deny dnslists = blackholes.mail-abuse.org : list.dsbl.org : bl.spamcop.net
deny dnslists = sbl.spamhaus.org=127.0.0.2
deny dnslists = relays.ordb.org

warn    hosts = +rbl_hosts
 message       = X-Warning: $sender_host_address is in a black list at
$dnslist_domain
         log_message   = found in $dnslist_domain
         dnslists      = blackholes.wirehub.net=127.0.0.2


  accept  domains       = +relay_to_domains
  accept  hosts         = +relay_from_hosts
  deny    message       = relay not permitted



acl_check_data:
accept

######################################################################
#                      ROUTERS CONFIGURATION                         #
#               Specifies how addresses are handled                  #
######################################################################
#     THE ORDER IN WHICH THE ROUTERS ARE DEFINED IS IMPORTANT!       #
# An address is passed to each router in turn until it is accepted.  #
######################################################################



system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch{/etc/aliases}}
# user = exim
file_transport = address_file
pipe_transport = address_pipe


userforward:
driver = redirect
check_local_user
file = $home/.forward
no_verify
no_expn
check_ancestor
# allow_filter
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply




scanmail_router:
        driver = manualroute
        domains = +relay_to_domains
        route_list = * nab.vsc.com byname
        transport = remote_smtp
no_more


######################################################################
#                      TRANSPORTS CONFIGURATION                      #
######################################################################
#                       ORDER DOES NOT MATTER                        #
#     Only one appropriate transport is called for each delivery.    #
######################################################################



begin transports

remote_smtp:
driver = smtp



local_delivery:
driver = appendfile
file = /var/mail/$local_part
delivery_date_add
envelope_to_add
return_path_add
# group = mail
# mode = 0660



address_pipe:
driver = pipe
return_output


address_file:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add


address_reply:
driver = autoreply

begin retry

*                      *           F,2h,15m; G,16h,1h,1.5; F,4d,6h



# There are no rewriting specifications in this default configuration file.

begin rewrite

# There are no authenticator specifications in this default configuration
file.

begin authenticators


# End of Exim configuration file



--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##