Hi. I'm hoping this is a simple question, apologies if it's too simple.
I did check documentation/wiki etc but haven't been able to make this
work. I'm not an advanced Linux/Exim user so again apologies if this is
a stupid question.

I want to be able to get our outbound exim server to check recipients
against a given list of recipients, and reject mail sent by our users to
these addresses. For what I've tried so far I've used this
(http://datadisk.co.uk/html_docs/exim/acl.htm) as reference. 

Right at the bottom of acl_check_rcpt I have:

# attempt to block messages to single address
  deny
    message = Sorry, delivery forbidden (see networks)
    senders = *@bolton.ac.uk
    recipients = lsearch;/etc/blocklist




  # At this point, the address has passed all the checks that have been
  # configured, so we accept it unconditionally.

  accept

And then /etc/blocklist has the email addresses I want to block (2 for
testing), 1 per line. 

When I send to these addresses, they are delivered all as per normal,
nothing unusual logged in main, reject or panic.log. 

Can anyone point me in the right direction? 


------------------------------------------------------------------------
------
Ian Elston
Networks & Developments
The University of Bolton
http://www.bolton.ac.uk

** SUPPORT QUERIES **

Please contact x3444 or [email protected] to report new faults or
request updates on existing calls. 



-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to