Re: [exim] exim acl checks

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tom Kistner
Ημερομηνία:  
Προς: Paulo Andre
Υ/ο: exim
Αντικείμενο: 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