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 bounce setup

Discussion in 'E-mail Discussion' started by Bdzzld, Dec 27, 2017.

  1. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    386
    Likes Received:
    4
    Trophy Points:
    168
    Hi,

    We've setup Exim (for security reasons) to only bounce e-mail headers (and not the full e-mail) in case of an incorrect recipient's e-mail address, by adding the following to the Exim configuration:

    Code:
    bounce_return_message = false
    bounce_return_body = false
    
    This works without problems.

    We'd also like to setup a message to let the receiver know about this and have found the following in another server's setup bounce :

    The question: How can the latter be added to our bounces?

    Thanks.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,378
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    386
    Likes Received:
    4
    Trophy Points:
    168
    @cPanelMichael:

    That thread is focussed on autoresponders, while mine is focussed on a bounce message someone receives when an e-mail address is not valid.

    Hereby a sample of such an e-mail:

    I'd like to have the last line added to our bounces as well. How do I do this?

    Thanks.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,378
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The thread originates with a question about autoresponders, but then goes into information about Delivery Status Notifications with Exim (DSN), which is what you need to enable to include that information in the bounce message.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    386
    Likes Received:
    4
    Trophy Points:
    168
    @cPanelMichael

    So, if I understand correctly, I've to add the following line :

    Code:
    dsn_advertise_hosts = * 
    
    to the file /etc/exim.conf.local under the @config@ section in order to have the header :

    added to our bounces?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,378
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You'd need to enable DSN first before you could include DSN information in the message headers, so the instructions in that thread are the the first step to take. Additionally, I suggest reviewing the Exim documentation for more information about "dsn_advertise_hosts" at:

    14. Main configuration

    That said, as far as including that information in the message header, I don't believe that happens automatically. Note that this is a custom Exim configuration, so it's not something we offer support for. You may want to consult with the Exim user's mailing list or a system administrator for help customizing Exim to include that in the header:

    Exim-users Info Page
    System Administration Services | cPanel Forums

    Thank you.
     
    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