On Fri, 28 Mar 2003, ianux wrote:
> the thing I want to do :
> - all mails sent from the local network ("mydomain") are treated
> normally (it's not the question)
> - but all mails sent from the Internet are relayed only if the sender
> has a local mail adress ("somebody@mydomain")
> i.e. filtering not from host but from mail adress
Bad idea, this will make you a open relay. Please read exims documentation
about SMTP AUTH for authenticated relaying.