Re: [exim] Envelope sender address rewriting

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Ted Cooper
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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/