Re: [exim] block a particular domain.

Etusivu
Poista viesti
Vastaa
Lähettäjä: Renaud Allard
Päiväys:  
Vastaanottaja: Suprateem Das
Kopio: exim-users
Aihe: Re: [exim] block a particular domain.


Suprateem Das wrote:
> Hello,
>
> I am new to exim. I want to block all the mails from a particular domain
> as the mails from that domain is constantly increasing my mail queue which
> is hampering my server performance.
>
> Please advise where should i edit in the config file so that all the mails
> from that domain gets deleted instatntly and not increase the mail queue.
>


An ACL like this one should do the trick:

deny
sender_domains  = verizon.net : bellatlantic.net : gte.net
log_message     = prohibited domain
message         = Mail from your domain is prohibited