On Tue, 31 May 2005, Tony Finch wrote:

> On Tue, 31 May 2005, Brent Clark wrote:
> >
> >  local_parts = bookings
> >  local_part_prefix = *-
> >
> > Would there be anyway to have the wildcard to be only numbers.
> 
> local_parts = ^[0-9]+-bookings$
> 
> Note that this will change the behaviour of the transport because the
> $local_part_prefix variable will not be set and it won't be stripped from
> $local_part.

Alternatively:

local_part_prefix = *-
condition = ${if match {$local_part_prefix}{^\\d+\$}}

I hope that works. I have not tested it.

-- 
Philip Hazel            University of Cambridge Computing Service,
[EMAIL PROTECTED]      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to