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!

Detect email rejections

Discussion in 'E-mail Discussion' started by PatrickVeenstra, Dec 11, 2013.

  1. PatrickVeenstra

    PatrickVeenstra Well-Known Member

    Joined:
    Feb 12, 2012
    Messages:
    104
    Likes Received:
    3
    Trophy Points:
    68
    Location:
    Barcelona
    cPanel Access Level:
    Root Administrator
    I've disabled the default email account. Now my question is, how can I receive notifications of undelivered mails? They are send from Mailer-Daemon@myserver.domain.com to the default mailbox (that I've disabled).

    I guess I should be able to do something editing /etc/vfilters/ but don't really know what :(
     
    #1 PatrickVeenstra, Dec 11, 2013
    Last edited: Dec 11, 2013
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Email messages are bounced to the actual sender. Thus, if you sent an email from "123@domain", and it's not deliverable, then it's bounced back to "123@domain".

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. PatrickVeenstra

    PatrickVeenstra Well-Known Member

    Joined:
    Feb 12, 2012
    Messages:
    104
    Likes Received:
    3
    Trophy Points:
    68
    Location:
    Barcelona
    cPanel Access Level:
    Root Administrator
    So when using the PHP mail() function, it will bounce to the "From: " value in the header or additional_header?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    It should bounce to the email address it was sent from. Thus, if it was sent out from "cpanel-username@domain" using PHP, then it would be bounced to that address. You may want to create an email account for the account username itself if you prefer to receive those emails instead of rejecting them.

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

    PatrickVeenstra Well-Known Member

    Joined:
    Feb 12, 2012
    Messages:
    104
    Likes Received:
    3
    Trophy Points:
    68
    Location:
    Barcelona
    cPanel Access Level:
    Root Administrator
    Emails are being send to accountname@servername.serverdomain.com
    I only see options to create emails under an accountname, not under a servername.serverdomain. Where can I create an email address under servername.serverdomain?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    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...
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