Re: [exim] block a particular domain.

Top Page
Delete this message
Reply to this message
Author: Renaud Allard
Date:  
To: Suprateem Das
CC: exim-users
Subject: 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