Re: [exim] restriction on aliases of a webserver

Etusivu
Poista viesti
Vastaa
Lähettäjä: Tony Finch
Päiväys:  
Vastaanottaja: Marten Lehmann
Kopio: exim-users
Aihe: Re: [exim] restriction on aliases of a webserver
On Thu, 26 Jan 2006, Marten Lehmann wrote:
>
> Is it possible to configure exim that a user can send emails to external
> addresses, but not to any local users, although they are listed in the
> aliases?


Yes. Put this in your not_smtp ACL

    deny
      senders = user@$qualify_domain
      recipients = +local_domains


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}}