Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

exim rewrite issue

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

  1. rs-freddo

    rs-freddo Well-Known Member

    Joined:
    May 13, 2003
    Messages:
    833
    Likes Received:
    1
    Trophy Points:
    168
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. rs-freddo

    rs-freddo Well-Known Member

    Joined:
    May 13, 2003
    Messages:
    833
    Likes Received:
    1
    Trophy Points:
    168
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice