Page 1 of 1

Blacklist

Posted: Mon Feb 25, 2013 8:48 pm
by Omar
Hi, in / etc / exim / exim.conf, I have a question about this:

Code: Select all

acl_smtp_connect = acl_check_spammers
..............
..............

acl_check_spammers:
  drop    message       = Your host in blacklist on this server.
          log_message   = Host in blacklist
          hosts         = +spammers
  deny    message       = rejected because $sender_host_address is in a black list at $dnslist_domain\\n$dnslist_text
          dnslists      = ${readfile {/etc/exim/dnsbl.conf}{:}}
  accept
This blocks send email from my server if a client is in blacklist?

Sorry, I'm new in exim :(

Re: Blacklist

Posted: Tue Feb 26, 2013 11:52 am
by skid
Hi Omar,
yes that's true If customer ip address is blacklisted it won't be able to send emails. Earlier I would suggest you to disable DNSBL protection or switch to webmail. But today I've added whitelist support in exim configuration so now you can add customer ip to the whitelist to disable spamcheck for him.

Code: Select all

# Download new exim configuration 
wget http://c.vestacp.com/0.9.7/exim.conf -O /etc/exim/exim.conf

# Create whitelist file
/etc/exim/white-blocks.conf

# Restart exim
service exim restart

# Add customer ip for example 192.168.7.5
echo 192.168.7.5 >> /etc/exim/white-blocks.conf

Re: Blacklist

Posted: Sat Mar 02, 2013 4:14 am
by Omar
thanks skid !