[Exim] Rejecting EMail

Top Page
Delete this message
Reply to this message
Author: Gordon McKee
Date:  
To: Exim Users
Subject: [Exim] Rejecting EMail
Hi

I currently have the following director set up to block mail:

forced_fail:
driver = aliasfile
senders = *@webfusion.co.uk
file = /usr/local/etc/exim/bouncelist
search_type = lsearch*

The bouncelist looks like this:

*:      :fail:  550 You are not authorised to send mail to this recipient


How can I adapt this so I have a text file with an address on each line that
is either a full address of a domain name. For example:

demon@???
*@hotmail.com
*@yahoo.com


Gordon