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

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Tony Finch
Fecha:  
A: Leonardo Boselli
Cc: exim-users, Peter Thomassen
Asunto: 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}}