Re: [exim] Routing: Accept mail from certain hosts

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tony Finch
Dátum:  
Címzett: Leonardo Boselli
CC: exim-users, Peter Thomassen
Tárgy: Re: [exim] Routing: Accept mail from certain hosts
On Sat, 9 Aug 2008, Leonardo Boselli wrote:
>
> check_recipient:
>   accept  hosts = :
> #  accept  domains = +local_domains
> #  accept  domains = +relay_domains
>   accept  hosts = +relay_hosts
>   accept  hosts = +auth_relay_hosts
>           endpass
>           message = authentication required
>           authenticated = *
>   deny    message = relay not permitted

>
> so just comment out the accept-domains line and restrict relay_hosts to
> the single authorized machine (possibly add localhost).


That should do what you want.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}