Tony Finch ha scritto:
>> In a router I've tried this:
>>      local_part_suffix= +${substr{6}{2}{$tod_logfile}}
>>      local_part_suffix_optional
>> to accept email addressed to [EMAIL PROTECTED] but doesn't
>> work. The suffix never matches. What's wrong?
> local_part_suffix is not expanded.

Ach...

I've resolved with this router:

## Accept [EMAIL PROTECTED] and redirect to [EMAIL PROTECTED]
auto_daily_alias:
   driver = redirect
   check_ancestor
   condition = ${if eq {${substr{-9}{10}{$local_part}}} 
{-${substr{6}{2}{$tod_logfile}}${substr{4}{2}{$tod_logfile}}${substr{0}{4}{$tod_logfile}}}
 
{true}{false}}
   data = [EMAIL PROTECTED]


-- 
## 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