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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tony Finch
Ημερομηνία:  
Προς: Leonardo Boselli
Υ/ο: exim-users, Peter Thomassen
Αντικείμενο: 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}}