Re: [Exim] Reject question

Pàgina inicial
Delete this message
Reply to this message
Autor: Dean Brooks
Data:  
A: exim-users
Assumpte: Re: [Exim] Reject question
On Thu, Nov 14, 2002 at 05:08:01PM +0200, sharun@??? wrote:
> Joe Gofton wrote:
> > Is there an easy way to reject email to certain users? I have 1 user that
> > I don't want to accept mail for but he needs an account on my box. I want
> > to emails to him to bounce.
>
> in exim4 just set appropriate ACL in acl_check_rcpt like this:
>
>     deny    local_parts = ^unwanted_username
>         message       = user unknown


An alternative way that may be easier to manage if you have a large
number of people to reject would be to add the following line to
your /etc/aliases file (assuming you have a router set up for one):

unwantedusername: :fail: We are rejecting mail for this user

Regards,

Dean Brooks
dean@???