Re: [Exim] Weird (stupid?) rewrite question

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: George Schlossnagle
Fecha:  
A: Phil Pennock
Cc: exim-users
Asunto: Re: [Exim] Weird (stupid?) rewrite question
Snipped output from expansion test:

Testing nobody@???
nobody@??? in
nobody@bp[^.]+.internal.blackplanet.com? no (end of list)
nobody@??? in
nobody@mg[^.]+.internal.blackplanet.com? no (end of list)
nobody@??? in
nobody@mg[^.]+.db.blackplanet.com? no (end of list)




Phil Pennock wrote:
>
> On 2000-10-03 at 14:14 -0400, Peter Radcliffe gifted us with:
> > ^(?i)[^@]+@mg[^.]+.my.domain bob@???
> > ^(?i)[^@]+@bp[^.]+.my.domain bob@???
>
> Wouldn't that rewrite <fred@mg@???> to <bob@???> ?
>
> Yours is probably more efficient than this, but surely:
> ^(?i).+@mg[^@.]+.my.domain bob@???
> ^(?i).+@bp[^@.]+.my.domain bob@???
> is more accurate?
>
> And now someone will either optimise that, or explain why I'm wrong.
> ;^)
> --
> Civilisation: where they cut down the trees and name streets after them.
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##