Re: [exim] Force valid sender domain from php

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Renaud Allard
CC: Will Harrison, exim-users
Subject: Re: [exim] Force valid sender domain from php
On Sun, 9 Jul 2006, Renaud Allard wrote:
>
> If you require that this happens with the "From:" header, you will have
> to use a regexp in the data acl.


Better to use ${if match_domain{${domain: ${address:${h_From:}} }} \
                               {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}}