Re: [Exim] Reject question

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Joe Gofton
Datum:  
To: dean
CC: exim-users
Betreff: Re: [Exim] Reject question
Thanks this worked.

Added "username: fail" to the /etc/aliases file and now emails are being
bounced.


Thanks again


> 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@???
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##



--
Joe

***
I can only please one person a day.
Today is not your day and tomorrow doesn't look good either.
***