Re: [exim] restriction on aliases of a webserver

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Marten Lehmann
CC: exim-users
Subject: 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}}