Autor: Tilo Buschmann Datum: To: exim-users Betreff: Re: [Exim] local domains only...
On Tue, 20 Aug 2002 11:56:41 +0100 (BST)
Matt Bernstein <mb@???> wrote:
> At 11:37 +0200 zabbe wrote:
>
> >I have a question, how do I "lock" exim so only specific domain's are
> >alowed to be used as outgoing mail. For example, on my server I have
> >these domains added reboot.nu and gangster.to, but people can send mail
> >thru my exim server with asd@???. I want to lock exim to only
> >allow outgoing mail to be xxx@??? or xxx@???. Annyone who
> >can help me?
>
> Upgrade to Exim 4 and use ACLs. Then it'll be trivial. (It's not
> particularly difficult with Exim 3.. have you read the routers
> documentation?)
For exim 3.*:
If he only wants to accept Emails for local domains no router should be specified.
But when the smtp Router should also relay special outgoing domains something like this should work:
lookuphosts:
driver = lookuphost
domains = domain1.tld:domain2.tld:domain3.tld
transport = remote_smtp
(of course in the router section and nothing else should be there)
Tilo
--
You cannot achieve the impossible without attempting the absurd.