RE: [EXIM] Cyrus

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Peter Bowyer
Data:  
Para: exim-users
Assunto: RE: [EXIM] Cyrus
Philip Hazel wrote:
>
> On Thu, 22 Oct 1998, Peter Bowyer wrote:
>
> > All OK so far. But if I add a 'suffix' to the address and use
> 'pbtest+a' it
> > does this :-
>
> > cyrus director skipped: local part mismatch
>
> Aha! I see why this is happening. It is in fact documented in section
> 21.1, but rather obscurely.
>
> You have
>
>        local_parts = lsearch;/etc/exim/cyrus

>
> set on your director, and the test for local parts happens *before* the
> test for suffixes. So the director never gets any further, and the
> suffix isn't even considered.
>
> You could get round this one by using "condition" rather than
> "local_parts". If your suffix separator is - try something along the
> lines of
>
>    condition = "${lookup \
>      {${if match{$local_part}{^([^-]+)-}{$1}{$local_part}}} \
>      lsearch {/etc/exim/cyrus}{yes}{no}}"


Yes, that did it - many thanks.

Peter

--
*** Exim information can be found at http://www.exim.org/ ***