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!

How to disable Email subaddresses

Discussion in 'E-mail Discussion' started by Bobby_I, Jun 1, 2017.

  1. Bobby_I

    Bobby_I Registered

    Joined:
    Jun 1, 2017
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    BG
    cPanel Access Level:
    Root Administrator
    Hey everyone,

    I know that since WHM 58.00 Email subaddresses is supported.

    This feature, also known as plus addressing, allows senders to route a message directly to the folder of a mailbox.

    Email subaddresses use the username+folder@domain format, where username represents the username of the mailbox and folder represents the folder's name.

    I know that in many cases this could be useful, but at the moment it is causing a lot of issues for me.

    Does anyone know how I could go ahead and disable this on my cPanel server?

    Thanks
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    It's not possible to enable or disable plus addressing through an option in WHM, but I encourage you to vote and add feedback to the existing feature request for this at:

    Toggle to disable email subaddressing feature

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Bobby_I likes this.
  3. Floyd R Turbo

    Floyd R Turbo Member

    Joined:
    Jul 30, 2015
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    West Des Moines, IA
    cPanel Access Level:
    Root Administrator
    Yeah this is totally screwing up my Xenforo automated email bounce handling system because all the outbound emails use VERP so they have a + sign in them, cPanel thinks these are subaddresses and sticks them inside a 2 or 3 level subfolder structure that I don't see unless I dig for it.

    I go here

    bounce1.JPG

    Looks like there are no bounces. It's looked like this for a while actually.

    so...I click here

    bounce2.JPG

    And look at that. hundreds of bounces that my forum is not taking into account

    bounce3.JPG


    Big, big screw up. How could you guys implement this feature and make it work like this without the ability to disable it.

    This is ridiculous. I've been nagging my web admin for a month about this.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi @Floyd R Turbo,

    One workaround is to set "lda_mailbox_autocreate" to "No" in the Dovecot configuration file. This will still result in the delivery of the message to the plus address, but it won't automatically create the separate mailboxes. We document how to customize Dovecot under the "Add Dovecot Options" section at:

    Mailserver Configuration - Version 68 Documentation - cPanel Documentation

    Let us know if this helps.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Floyd R Turbo

    Floyd R Turbo Member

    Joined:
    Jul 30, 2015
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    West Des Moines, IA
    cPanel Access Level:
    Root Administrator
    I can't see that link

    sorry, I can see it...I couldn't see some similar ones that were trying to link to a developer site, there was a whole mess with HTTPS errors getting thrown on me, I think I made an exception somewhere along the line
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    The documentation website is currently under maintenance. That issue should be cleared up once the maintenance is complete.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Floyd R Turbo

    Floyd R Turbo Member

    Joined:
    Jul 30, 2015
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    West Des Moines, IA
    cPanel Access Level:
    Root Administrator
    @cPanelMichael

    Can't see that GUI interface in my WHM, I have no idea what all those steps are. I have a VPS + root access

    Can't I just SSH into the server and go to /var/cpanel/conf/dovecot and use nano to edit the file "main" and add the line:

    lmtp_save_to_detail_mailbox: 'no';

    ^^this should disable subaddressing completely I think, for all domains on that VPS, right?

    The other option is to do the same to that "main" file with this line:

    lda_mailbox_autocreate: 'no';

    which I think will just stop the file folder from being created.

    Then once I make this change run /scripts/builddovecotconf and the configuration file will be updated, correct?

    Then restart the Dovecot mail server /scripts/restartsrv_dovecot command. correct?
     
  8. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    You have to scroll down to the "Add Dovecot Options" section on the following document:

    Mailserver Configuration - Version 68 Documentation - cPanel Documentation

    It explains how to set it up the custom dovecot configuration option over the command line.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Floyd R Turbo

    Floyd R Turbo Member

    Joined:
    Jul 30, 2015
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    West Des Moines, IA
    cPanel Access Level:
    Root Administrator
    I can see that at the bottom of that document. I cannot see those "tabs" in WHM anywhere

    nevermind I'm an idiot
     
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