Re: [exim] exim acl checks

Etusivu
Poista viesti
Vastaa
Lähettäjä: Tom Kistner
Päiväys:  
Vastaanottaja: Paulo Andre
Kopio: exim
Aihe: Re: [exim] exim acl checks
Paulo Andre wrote:

> I have created a domain (test.darkstar.nom.za) and would like all email
> that start with following '+27' to be delivered to an account.
> eg. +270113200000@??? to be delivered to
> user@???
> Is this possible and if so how?


You can use a redirect router (untested):

redir_27:
driver = redirect
domains = test.darkstar.nom.za
condition = ${if match{$local_part}{^\\+27}{1}{0}}
data = user@???

/tom