Re: [exim] Replacement for match_domain in Exim 4.3?

Góra strony
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
Dla: torsten
CC: exim-users
Temat: Re: [exim] Replacement for match_domain in Exim 4.3?
On Tue, 7 Jun 2005 torsten@??? wrote:
>
> we're running Exim 4.3 and I would like to limit users to send mail with a
> from: field with domains that are in the local_domains list.
>
> I found the nice option match_domain that I migt be able to use in a
> acl_smtp_mail ACL, but this option is not yet available in 4.3.


I don't know why you say "not yet available in 4.3" - once a version of
Exim has been released it is fixed for all time. If you want new features,
use a newer version.

You can solve your problem with an ACL statement like

deny sender_domains = !+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}}