The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

exim rewrite issue

Discussion in 'E-mail Discussions' started by rs-freddo, Jul 24, 2008.

  1. rs-freddo

    rs-freddo Well-Known Member

    Joined:
    May 13, 2003
    Messages:
    832
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    I use the following rewrite rule:
    username@lsearch;/etc/localdomains "${if !eq {$header_From:}{}{$header_sender:$header_From:}fai l}" Fs
    to change email headers from a certain username so they are not being sent out as username@hostname

    However it does not seem to be changing the envelope sender although it is changing the reply-to. However i am getting returned email to envelope sender. How do i change the envelope sender to the From: email address?
     
  2. rs-freddo

    rs-freddo Well-Known Member

    Joined:
    May 13, 2003
    Messages:
    832
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    If you have the same problem the solution is to place
    trusted_users = username1:username2
    into the top box of exim advanced config.
     
Loading...

Share This Page