[Exim] Weird (stupid?) rewrite question

Etusivu
Poista viesti
Vastaa
Lähettäjä: George Schlossnagle
Päiväys:  
Vastaanottaja: exim-users
Aihe: [Exim] Weird (stupid?) rewrite question
Hi,

I have a feeling this is a stupid question, but try as I might, I can't
figure it out. I want to rewrite mails from hosts that match
mg*.my.domain as one thing and ones that match bp*.my.domain as another.

I'm using the rules:

*@mg*.my.domain            bob@???
*@bp*.my.domain            bob@???


However, when I try to dliver mail, mg103.my.domain matches nothing.

If I replace the above with *.my.domain, match occurs and all goes
well, except of course that it's not what I need to have happen.

Any thoughts would be appreciated.

Thanks,

George