Re: [exim] Force valid sender domain from php

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tony Finch
Date:  
À: Renaud Allard
CC: Will Harrison, exim-users
Sujet: 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}}