[exim] Creating local blacklist

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Mike Brown
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] Creating local blacklist
Re: Exim version 4.89 #1 built 01-Dec-2017 12:50:23

I tried searching the archive, but I suspect that my key word (blacklist)
wasn't good enough. I thought there would be more posts about how to do
local blacklisting. I even tried the wiki, but the blacklist topic just
points back to the home page.

So, here I am. Hopefully the subject line I used will be helpful for
future archive searching.

In my exim.conf file I've added the following line:

     domainlist relay_to_domains =
-->  domainlist exim_blacklist = lsearch;/etc/exim/eximblacklist


In the /etc/exim/eximblacklist file is the single line: qq.com
It is set to 644 root root.

I've also added the following lines:

#############################################################################
# Deny from particular domains
driver = redirect
# RBL Blacklist incoming hosts
domains = +exim_blacklist
allow_fail
data = :fail: Connection rejected: SPAM source $domain is manually blacklisted.
#############################################################################

The lines were added after the section that contains the following line in
the acl_check_rcpt: section:

  # deny    message       = rejected because $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text


Restarting exim (Linux Fedora server) results in it failing. I have no idea
as to what I am doing. I found those lines via google and they don't work.

I just noticed in the following manual section:

http://www.exim.org/exim-html-current/doc/html/spec_html/ch-access_control_lists.html

that "acl_check_rcpt:" doesn't exist. But, there is a fleeting reference to
it later on.

Color me confused.

Thanks for any pointers.

As a side note, the qq.com domain is nothing but spam e-mail from China.

MB
-- 
e-mail: vidiot@??? | vidiot@???            /~\ The ASCII
        6082066843@??? (140 char limit)       \ / Ribbon Campaign
Visit - URL: http://vidiot.com/                           X  Against
             http://vidiot.net/                          / \ HTML Email
"What do you say Beckett. Wanna have a baby?" - Castle to Det. Beckett
"How long have I been gone?" Alexis after seeing Castle and Beckett w/ baby
 - Castle - 11/25/13