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!

SOLVED Question regarding email addresses containing a "+" sign

Discussion in 'E-mail Discussion' started by akust0m, Nov 30, 2016.

Tags:
  1. akust0m

    akust0m Well-Known Member

    Joined:
    Feb 19, 2016
    Messages:
    62
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    Melbourne
    cPanel Access Level:
    Root Administrator
    Hello,

    We have a client where they have their default address set to deliver all unrouted mail to a forwarder which then is supposed to go to a real mailbox on the server.

    So it goes *default account* > *forwarder* > *mailbox*.

    The client has mentioned that in the past, he has had no problems with people sending emails to his domain with a + sign in it. For example: test+email@example.com

    However, recently he has noticed that none of these emails are being received. Running an exim test returns the following:

    # exim -bt test+email@example.com
    mail to test+email@example.com is discarded

    There seems to be no global or individual mail filters on his cPanel account.

    Also, if I run the same test as above but without a "+" sign then it shows a successful delivery to the desired mailbox.

    We set up an identical setup on a different cPanel server and it delivers perfectly fine through to the desired mailbox as well.

    Are there any settings in Exim that would prevent the use of a "+" symbol?

    Thanks!
     
    #1 akust0m, Nov 30, 2016
    Last edited: Nov 30, 2016
  2. akust0m

    akust0m Well-Known Member

    Joined:
    Feb 19, 2016
    Messages:
    62
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    Melbourne
    cPanel Access Level:
    Root Administrator
    Ok so we were able to narrow down where the problem is:

    In this case, the client was receiving email to "external+test@example.com". This email account doesn't exist, it is caught in the default mail account catch-all, which then forwards through to "external@example.com" (which is an email forwarder).

    The email is discarded, however sending to "external1+test@example.com" works.

    So it seems that there is a problem when the part before the "+" sign on the email address that is being sent to matches the part before the @ symbol on the email forwarder.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,961
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    A feature to support email subaddresses was introduced in cPanel version 58:

    Thus, the email account name before the "+" symbol must exist on the system as an actual email account or forwarder, or else the action defined via the "Default Address" feature is utilized. Could you verify if the email account you are encountering an issue with exists on the system?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. akust0m

    akust0m Well-Known Member

    Joined:
    Feb 19, 2016
    Messages:
    62
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    Melbourne
    cPanel Access Level:
    Root Administrator
    Hi @cPanelMichael,

    The client was wanting to receive email to "external+test@example.com". I don't think it was for the purpose of sub-addressing though; he just wanted a + sign in his email. This email account doesn't exist, instead it is caught in the default mail account catch-all, which then forwards through to "external@example.com".

    In the above case, mail is discarded, perhaps because the folder "test" doesn't exist?? However sending to "external1+test@example.com" works.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,961
    Likes Received:
    1,821
    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