Re: [Exim] blocking domain and/or user

Top Page
Delete this message
Reply to this message
Author: Tim Jackson
Date:  
To: exim-users
Subject: Re: [Exim] blocking domain and/or user
Hi McKeever, on Wed, 3 Dec 2003 08:51:56 -0600 you wrote:

> Is there a way to block a specific email address or an entire domain?


Yes, in the RCPT ACL, after your check to allow postmaster@[local_domains]
through:

deny message = Your e-mail address is blocked
     senders = foo@???


or

deny message = Your domain is blocked
     senders = *@example.com


> If possible, to return the sender an email notifying them of the
> rejection.


A bounce will be generated by the SMTP server talking to you, which should
contain the message you specify (in "message" above).

Tim