> From Shine, Gary on Friday, June 15, 2007 12:53 AM
>
> From David S. Madole on 15 June 2007 00:49
> 
> > From Shine, Gary on Friday, June 15, 2007 12:42 AM
> > 
> > > I believe you are perhaps looking for:
> > >
> > > [EMAIL PROTECTED]     [EMAIL PROTECTED]     Ffrs
> > 
> > Tried that too --
> >
> > Did not work.
> >
> > Is there a way to debug the re-writes?
> 
> See the "-d" (debug) option in the command-line options 
> section of the documentation, specifically the rewrite 
> argument to it. Exim has excellent documentation and very complete.
> 
> Do you mean /usr/exim/bin/exim -bt -d [EMAIL PROTECTED]

No, but here is one of several possibilities:

  # exim -d-all+rewrite -f [EMAIL PROTECTED] [EMAIL PROTECTED]
  From: <[EMAIL PROTECTED]>
  To: <[EMAIL PROTECTED]>

Which gives as debug output:

  LOG: address_rewrite MAIN
    "[EMAIL PROTECTED]" from env-from rewritten as "[EMAIL PROTECTED]" by rule 2
  rewritten sender = [EMAIL PROTECTED]
  rewrite_one_header: type=F:
    From: <[EMAIL PROTECTED]>
  LOG: address_rewrite MAIN
    "[EMAIL PROTECTED]" from from: rewritten as "[EMAIL PROTECTED]" by rule 2
  newlen=27 newtype=F newtext:
  From: <[EMAIL PROTECTED]>
  remainder:
  rewrite_one_header: type=T:
    To: <[EMAIL PROTECTED]>

Did you put the line in the correct place in the file i.e. in the rewrite 
section? The above was produced with exactly the rewrite rule I gave you.

David



-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to