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