Re: [exim] Envelope sender address rewriting

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Ted Cooper
日付:  
To: 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/