[Exim] Rewriting is driving me crazy

Página Inicial
Delete this message
Reply to this message
Autor: Ralf G. R. Bergs
Data:  
Para: exim-users ML
Assunto: [Exim] Rewriting is driving me crazy
Folks,

the following rewriting rule is by far the easiest one I have in my config
file, but still it doesn't work. :-((

    FETCHMAIL-DAEMON@??? "FETCHMAIL-DAEMON@<my-real-hostname>" fFSQ


Here's the result of "exim -brw":

Server:/etc/exim# exim -brw FETCHMAIL-DAEMON@???
2003-02-24 22:02:22 "FETCHMAIL-DAEMON@???" rewritten as "FETCHMAIL-
DAEMON@<my-real-hostname>" by rule 1
    SMTP: FETCHMAIL-DAEMON@<my-real-hostname>
  sender: FETCHMAIL-DAEMON@???
    from: FETCHMAIL-DAEMON@???
      to: FETCHMAIL-DAEMON@???
      cc: FETCHMAIL-DAEMON@???
     bcc: FETCHMAIL-DAEMON@???
reply-to: FETCHMAIL-DAEMON@???
env-from: FETCHMAIL-DAEMON@???
  env-to: FETCHMAIL-DAEMON@???


Why doesn't the above rule cause rewriting in the "from:" and "env-from:"
cases? I've already tried to specify the address to be changed as a regex like
this, but to no avail:

\N^FETCHMAIL-DAEMON@Server\.WG$\N

I guess I'm simply overworked. Can anyone help?

Thanks,

Ralf


--
   L I N U X       .~.
  The  Choice      /V\
   of a  GNU      /( )\
  Generation      ^^-^^