[Exim] Problems with rewriting

Etusivu
Poista viesti
Vastaa
Lähettäjä: Patrice PILLOT
Päiväys:  
Vastaanottaja: exim-users
Aihe: [Exim] Problems with rewriting
Hi,

I have put the following rule in my conf file :

bla@??? bli@??? Eh

(well, I must admit I got there after having simplified a
lot the original rewrite...)

and here is what I get :

UC104 3# exim -brw bla@???
  sender: bla@???
    from: bla@???
      to: bla@???
      cc: bla@???
     bcc: bla@???
reply-to: bla@???
env-from: bla@???
  env-to: bla@???
UC104 4# 


Uh ! Is exim not reading the good file ?

UC104 4# exim -brw bla@??? -C /etc/exim.conf        
  sender: bla@???
    from: bla@???
      to: bla@???
      cc: bla@???
     bcc: bla@???
reply-to: bla@???
env-from: bla@???
  env-to: bla@???
UC104 5# 


Hmmmm, lets have some fun. After replacing the `Eh' flag by the most
uncommon `Yh' :

UC104 5# exim -bV
Exim version 2.04 #2 built 10-Dec-1998 01:24:02
Copyright (c) University of Cambridge 1998

My, my. Let's have a double check.

UC104 9# exim -bV -C /etc/exim.conf
Exim version 2.04 #2 built 10-Dec-1998 01:24:02
Copyright (c) University of Cambridge 1998
2000-11-09 18:06:19 Exim configuration error
unknown rewrite flag character (Y) in line 340

OK. Exim is now reading the wrong config file (why does this
has changed ?). I think I can cope with that.

But would somebody be kind enough to tell me what's wrong
with the rewriting rule ? Didn't find anything in the faq.
It seems that exim can "spell check" the rules but doesn't
want to execute them.

Thanks in advance,

Patrice