Re: [Exim] blocking domain and/or user

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tim Jackson
Date:  
À: exim-users
Sujet: 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