Re: [exim] regular expressions in aliases

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Klaus Maria Pfeiffer
CC: exim-users
Subject: Re: [exim] regular expressions in aliases
On Thu, 15 Dec 2005, Klaus Maria Pfeiffer wrote:
>
> only the following local parts of a domain are valid: [...]
>
> the problem is, that I would like to have a reject at SMTP time with code 550,
> but in the users exim filter I can only generate a bounce.


Put the regexes into a local_part_list and use it in a local_parts
condition on all your local routers.

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