Re: [EXIM] "bad host on my net"

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Leonardo Boselli
CC: exim-users
Assunto: Re: [EXIM] "bad host on my net"
On Sun, 14 Mar 1999, Leonardo Boselli wrote:

> I have in my config :
>
> sender_net_accept_relay = x.y.z.0/24:a.b.c.0/24
>
> Now a wish to treat two hosts in x.y.z network in a very special 
> way:
>  for host x.y.z.11 :
>    If the domain is ssss.domain.it then 
>        if the localpart is a real user deliver to it, ignoring aliases
>        (but following personal .forward files)
>        otherwise send to originator a fixed message (say: "get 
> http://this.url to have the list of users on this site")
>        if the domain of messages coming from that server is neither 
> ssss.domain.it or one of my local domain just throw it away 


You can probably handle this by using some special directors and routers
with a "condition" option to test the things you want to test.

>   for host x.y.z.254
>        Do as it was a n host outside my domain (can send here, but 
> not relay)


Add

sender_net_reject_relay = x.y.z.254/32


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***