Re: [exim] Envelope sender address rewriting

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Christian Gregoire
Date:  
À: exim-users
Sujet: Re: [exim] Envelope sender address rewriting
Thanks, that works.

Christian



----- Original Message ----
From: Ted Cooper <eximX1211@???>
To: exim-users@???
Sent: Tuesday, December 16, 2008 8:40:46 PM
Subject: Re: [exim] Envelope sender address rewriting

Christian Gregoire wrote:
>>> \N^<(.*@mydomain.com)>$    <TAG$1>                                 S
>>> \N^<(.*@mydomain.com)>$    <TAG$1>                                 F
>>> \N^<(.*@mydomain.com)>$    <TAG$1>                                 SF


Now that I actually looked and read up on address rewriting a little
(gosh darn I'd never used it before! errors_to & SRS & PVRS ftw) I can
see your issue.

Remove the < and > in there.

begin rewrite
\N^(.*@example.tld)$\N TAG$1 SF

# exim -brw from@???
    SMTP: TAGfrom@???
  sender: from@???
    from: from@???
      to: from@???
      cc: from@???
     bcc: from@???
reply-to: from@???
env-from: TAGfrom@???
  env-to: from@???


--
The Exim Manual
http://www.exim.org/docs.html
http://docs.exim.org/current/

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