Re: [exim] block a particular domain.

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Renaud Allard
Date:  
À: Suprateem Das
CC: exim-users
Sujet: 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