Auteur: Jerry M. Howell II Date: À: exim-users Sujet: Re: [exim] blocking domains
On Tuesday 21 December 2004 12:29 am, Peter Bowyer wrote:
> hostlist bad_hosts = 1.2.3.0/24 : 2.3.0.0/16
>
> or something.
>
> Banning by domain is similar:
>
> deny message = We don't want your mail either
> domains = +bad_domains
>
> and at the top of the config
>
> domainlist bad_domains = unwanted.example.com
>
> If you're running a config derived from the default one, there are
> lots of comments in the ACL section which will help you understand
> what the different parts do.
> Thank you, I'm sure this is what I'm after. The problem I'm having is
I'm running exim on my secondary mx server. I tested out a domain that
they don't wnat to go through and it works for the primary but it
bounces to the secondary then returnes to the primary. confusing I know
but till I can tell the secondary to bounce it, it'll keep comming
back.
--