Re: [Exim] How to reject some domain?

Etusivu
Poista viesti
Vastaa
Lähettäjä: William Thompson
Päiväys:  
Vastaanottaja: Tony Earnshaw
Kopio: EXIM Users
Aihe: Re: [Exim] How to reject some domain?
> > i need to block some domains
> > (old mailing list where is impossible to unsubscribe).
>
> I think I used to have host_reject_recipients, many years ago. It comes
> in the main config part; i.e., you don't need a router - you can do file
> and db lookups. Hope you have spec.txt to search in.


If it's email domains I'd do:

sender_reject_recipients = <some file>

replace <some file> with an lsearch*@ if you want to search for *@domain.com
or even @@learch* which would look like in the file:
domain.com    *


> > i don't want upgrade to exim 4.x because is not in the stable debian
> > distribution.
>
> Nevertheless, you really ought to, you know :-)
>
> Best,
>
> Tony
>
> --
>
> Tony Earnshaw
>
> e-post:        tonni@???
> www:        http://www.billy.demon.nl

>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>