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 remove and change return-path

Discussion in 'E-mail Discussions' started by webstyler, Nov 10, 2009.

  1. webstyler

    webstyler Well-Known Member

    Joined:
    Nov 20, 2003
    Messages:
    432
    Likes Received:
    0
    Trophy Points:
    16
    Hello

    we send email from server 1 using server 2 as SMTP

    so, on server 1 there is a simple php code that connect with port 25 of server 2 and put on SMTP all data

    all work fine but return-path is remove

    we set return-path as header because is different to FROM value .. but on header email return-path have same value of FROM and our header return-path seems removed

    any idea ?

    Thanks
     
  2. samurai7

    samurai7 Registered

    Joined:
    Nov 10, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    return path

    Hello,

    Edit your exim.conf file and add the following line:
    Code:
    return_path_remove = false
    Restart exim.
     
  3. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Manual changes to exim.conf will not be saved.

    To ensure edits are saved, please use the Exim Configuration Editor in WHM to apply the customizations; there is an Advanced Editor section that allows custom directives to be inserted.

    Menu path:
    WHM: Main >> Service Configuration >> Exim Configuration Editor >> Advanced Editor

    Documentation:
    EximConfig < AllDocumentation/WHMDocs < TWiki
    AdvancedExim < AllDocumentation/WHMDocs < TWiki
     
  4. webstyler

    webstyler Well-Known Member

    Joined:
    Nov 20, 2003
    Messages:
    432
    Likes Received:
    0
    Trophy Points:
    16
    Hi

    already try with

    return_path_remove = false

    but nothing change, return_path is removed :/
     
  5. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Customizing the Exim Configuration

    I recommend referring to the official Exim documentation to find out more about configuration options and what is possible in Exim. The following page at the Exim web site also includes a search function to help locate current information from the latest Exim documentation:
    Exim Documentation
    Exim Wiki

    When searching for the specified configuration directive, the following page was included in the search results:
    Specification of the Exim Mail Transfer Agent, Chapter 14, Main configuration

    For clarification and to reiterate:
    To save configuration directives for the "main configuration" of Exim, the configuration directives must be entered within the first text-entry area (text box) that is directly below "#!!# cPanel Exim 4 Config" in the Advanced Editor of the Exim Configuration Editor in WHM (via root access):
    WHM: Main >> Service Configuration >> Exim Configuration Editor >> Advanced Editor
    Documentation:
    EximConfig < AllDocumentation/WHMDocs < TWiki
    AdvancedExim < AllDocumentation/WHMDocs < TWiki
     
    #5 cPanelDon, Nov 13, 2009
    Last edited: Nov 13, 2009
Loading...

Share This Page