This object is in archive! 
Email sub-addressing (plus addressing)
Completed
I'd like to be able to configure email sub-addressing on my WHM.
It'd be OK if it's disabled by default, but I want to be able to simply change some config on WHM to enable it.
The objective, in my case, is to have my server receive emails with IDs so my app can handle them appropriately. Ie. client+465@myweb.com
cPanel & WHM v58 has just gone to CURRENT and includes this functionality. If you have any questions let me know, or if you experience any problems with it, please do submit a ticket and let us know!
https://documentation.cpanel.net/display/58Docs/58%20Release%20Notes#id-58ReleaseNotes-Emailsubaddresses
cPanel & WHM v58 has just gone to CURRENT and includes this functionality. If you have any questions let me know, or if you experience any problems with it, please do submit a ticket and let us know!
https://documentation.cpanel.net/display/58Docs/58%20Release%20Notes#id-58ReleaseNotes-Emailsubaddresses
I fully support this idea. However, I'd like to expand it a bit.
I'm gonna use Gmail's plus addresses in my examples...but this applies to cPanel/WHM domains too.
Currently, with Gmail, you can give out addresses like...
username+plusaddress@gmail.com
"username" obviously being the username
"plusaddress" being ANY string (or "any string not including an @ (at) sign")
...this works fine, when intelligent people make websites, however -- & far too often -- some websites are written by someone that doesn't know that + (plus) is a VALID char in an E-mail address, so that website rejects "username+plusaddress@gmail.com" as being an invalid E-mail address, even when it is perfectly valid.
I've been planning on suggesting this to Google, for Gmail, but since this issue came up, I'll suggest it here 1st.
I want "plus addressing via subdomains". Continuing the Gmail example...
A user ("username") would be able to set-up...
plusaddress@username.gmail.com
...which would be exactly the same as...
username+plusaddress@gmail.com
...except, it would work on those sites with bad webmasters (where + chars are considered invalid), since in this format, there is no + char!
Following up on that, since "username.gmail.com" is simply too easy to guess/reverse-engineer (a human can figure out how to re-arrange the E-mail address & still spam the user), I'd want the user to be able to turn off "username.gmail.com" & enable "j45kd9dl4l.gmail.com"...the "j45kd9dl4l" being any random string the user wants/chooses. The point here, is that no-one can tell from "j45kd9dl4l" that it points to the "username" user. Then that person gives out an address like...
plusaddress@j45kd9dl4l.gmail.com
...or more specifically...
somebadsite.com@j45kd9dl4l.gmail.com
...that bad site has a valid E-mail, but no-one can reverse engineer it to the real E-mail address.
The user should be able to choose one of the following behaviors for the subdomains they create...
...in either case, there should be a blacklist, so if a plus address starts getting spam, they can turn it off (by deleting the whitelisted address...or, in the case of "catch all", adding a blacklisted address). Each user should be able to create (at least a few {3?}) subdomains...for example, the user "username" could create "j45kd9dl4l.gmail.com", "dfs8f9s8d0f.gmail.com" & "dgfs8f9dfsd.gmail.com" & they would all be routed to the user "username"'s E-mail box...& they can enable, disable or rename those subdomains at any time.
Remember: this example used Gmail, since this idea was originally for Gmail (& still is). Simply replace "gmail.com" above with "example-cpanel-domain.net" in the case of cPanel/WHM.
This should be a setting cPanel users can enable -- or perhaps even just webmail users -- basically anyone with an E-mail address (regardless of their cPanel/WHM account-having status) should be able to login somewhere, turn this on & manage it -- but perhaps the subdomain-allocation should be handled at the cPanel or WHM user level? -- however, when it is turned on at that level, the "subdomains" should be handled by a wildcard in DNS & then just handled by Exim (or whatever implements this new feature), so you don't need a new DNS entry for every user's subdomains.
So, a cPanel (or WHM) user turns the feature "on", or more specifically, one of the following...
...then individual "users" (anyone in control of an E-mail address) can manage it -- or turn it off for their address.
I'd also wanna be able to enable/manage this behavior for Forwarders...in the case of Forwarders, they're not real "account"s, but they are E-mail addresses, so I'd wanna be able to manage it somewhere (probably while logged in as a cPanel user) -- so even Forwarders can be protected by plus addressing.
That was incredibly long, & perhaps it should be split to its own idea (which is fine), but it's extremely related to this, so I put it here.
I fully support this idea. However, I'd like to expand it a bit.
I'm gonna use Gmail's plus addresses in my examples...but this applies to cPanel/WHM domains too.
Currently, with Gmail, you can give out addresses like...
username+plusaddress@gmail.com
"username" obviously being the username
"plusaddress" being ANY string (or "any string not including an @ (at) sign")
...this works fine, when intelligent people make websites, however -- & far too often -- some websites are written by someone that doesn't know that + (plus) is a VALID char in an E-mail address, so that website rejects "username+plusaddress@gmail.com" as being an invalid E-mail address, even when it is perfectly valid.
I've been planning on suggesting this to Google, for Gmail, but since this issue came up, I'll suggest it here 1st.
I want "plus addressing via subdomains". Continuing the Gmail example...
A user ("username") would be able to set-up...
plusaddress@username.gmail.com
...which would be exactly the same as...
username+plusaddress@gmail.com
...except, it would work on those sites with bad webmasters (where + chars are considered invalid), since in this format, there is no + char!
Following up on that, since "username.gmail.com" is simply too easy to guess/reverse-engineer (a human can figure out how to re-arrange the E-mail address & still spam the user), I'd want the user to be able to turn off "username.gmail.com" & enable "j45kd9dl4l.gmail.com"...the "j45kd9dl4l" being any random string the user wants/chooses. The point here, is that no-one can tell from "j45kd9dl4l" that it points to the "username" user. Then that person gives out an address like...
plusaddress@j45kd9dl4l.gmail.com
...or more specifically...
somebadsite.com@j45kd9dl4l.gmail.com
...that bad site has a valid E-mail, but no-one can reverse engineer it to the real E-mail address.
The user should be able to choose one of the following behaviors for the subdomains they create...
...in either case, there should be a blacklist, so if a plus address starts getting spam, they can turn it off (by deleting the whitelisted address...or, in the case of "catch all", adding a blacklisted address). Each user should be able to create (at least a few {3?}) subdomains...for example, the user "username" could create "j45kd9dl4l.gmail.com", "dfs8f9s8d0f.gmail.com" & "dgfs8f9dfsd.gmail.com" & they would all be routed to the user "username"'s E-mail box...& they can enable, disable or rename those subdomains at any time.
Remember: this example used Gmail, since this idea was originally for Gmail (& still is). Simply replace "gmail.com" above with "example-cpanel-domain.net" in the case of cPanel/WHM.
This should be a setting cPanel users can enable -- or perhaps even just webmail users -- basically anyone with an E-mail address (regardless of their cPanel/WHM account-having status) should be able to login somewhere, turn this on & manage it -- but perhaps the subdomain-allocation should be handled at the cPanel or WHM user level? -- however, when it is turned on at that level, the "subdomains" should be handled by a wildcard in DNS & then just handled by Exim (or whatever implements this new feature), so you don't need a new DNS entry for every user's subdomains.
So, a cPanel (or WHM) user turns the feature "on", or more specifically, one of the following...
...then individual "users" (anyone in control of an E-mail address) can manage it -- or turn it off for their address.
I'd also wanna be able to enable/manage this behavior for Forwarders...in the case of Forwarders, they're not real "account"s, but they are E-mail addresses, so I'd wanna be able to manage it somewhere (probably while logged in as a cPanel user) -- so even Forwarders can be protected by plus addressing.
That was incredibly long, & perhaps it should be split to its own idea (which is fine), but it's extremely related to this, so I put it here.
I don't think it's useful to go further than GMail, but I definitely think that plus addressing for cpanel would solve a lot of problems for me.
I don't think it's useful to go further than GMail, but I definitely think that plus addressing for cpanel would solve a lot of problems for me.
Plus addressing is a powerful anti-phishing tool for users. I've been using it for about 15 years now, and I'd never go back. Gmail and Outlook.com both support it, among others. I wouldn't be willing to use a cPanel-managed domain for my email if I hadn't figured out how to implement it with baling wire, chewing gum, procmail, and perl. Subaddressing is becoming a standard feature of email systems; it's boggling to me that cPanel doesn't support it yet.
Plus addressing is a powerful anti-phishing tool for users. I've been using it for about 15 years now, and I'd never go back. Gmail and Outlook.com both support it, among others. I wouldn't be willing to use a cPanel-managed domain for my email if I hadn't figured out how to implement it with baling wire, chewing gum, procmail, and perl. Subaddressing is becoming a standard feature of email systems; it's boggling to me that cPanel doesn't support it yet.
I would like to have the same thing, but Qmail-style DASH addressing, instead of using a Plus symbol.
client-465@example.comSame concept, with preference for the original "-" (hyphen as separator) instead of the "+" symbol used by Gmail.
I would like to have the same thing, but Qmail-style DASH addressing, instead of using a Plus symbol.
client-465@example.comSame concept, with preference for the original "-" (hyphen as separator) instead of the "+" symbol used by Gmail.
We've had some requests for this and would defenetly like plus addressing. With + and not - as - doesn't mean a folder to most users. Unless this could be an option in the email filters
We've had some requests for this and would defenetly like plus addressing. With + and not - as - doesn't mean a folder to most users. Unless this could be an option in the email filters
As we lose email customers to Gmail for issues like plus subaddressing, we risk losing customers, let alone customers for other services.
Our loss is cPanel's loss in the end; there's good reason for this feature to be considered.
As we lose email customers to Gmail for issues like plus subaddressing, we risk losing customers, let alone customers for other services.
Our loss is cPanel's loss in the end; there's good reason for this feature to be considered.
For anyone interested in a little baling wire & chewing gum, account level filtering will deliver mail to a single address if you use a rule where To Matches Regex:
admin.+
...where admin is the main address you want to accept subaddresses for. However, this only works for local mail delivery, not for mail from external servers.
For anyone interested in a little baling wire & chewing gum, account level filtering will deliver mail to a single address if you use a rule where To Matches Regex:
admin.+
...where admin is the main address you want to accept subaddresses for. However, this only works for local mail delivery, not for mail from external servers.
Some nice ideas here.
What do you think cPanel? When can we get some of it?
Some nice ideas here.
What do you think cPanel? When can we get some of it?
There was a script posted here:
http://forums.cpanel.net/f145/case-16578-get-serious-about-getting-subaddress-plus-addressing-support-exim-100893-p2.html#post1234072
That sortof worked, but I had CPanel complain each day about the config file having been changed.
Instead, I applied the same changes manually. I went to WHM, Exim Configuration Manager, then the Advanced Editor tab and set some of the variables as shown below.
The variables in the editor allow you to insert new rules but you can't change rules that are already in the config file. What I did to overcome this was to use .ifdef and .endif statements to effectively comment out sections between configurable variables.
The list of things I changed was:
PREFILTER:
PREVALIASNOSTAR:
PREVIRTUALUSER:
PRENOALIASDISCARD:
PREVALIASSTAR:
DIRECTORMIDDLE:
PREDOTFORWARD:
PRELOCALUSER:
There was a script posted here:
http://forums.cpanel.net/f145/case-16578-get-serious-about-getting-subaddress-plus-addressing-support-exim-100893-p2.html#post1234072
That sortof worked, but I had CPanel complain each day about the config file having been changed.
Instead, I applied the same changes manually. I went to WHM, Exim Configuration Manager, then the Advanced Editor tab and set some of the variables as shown below.
The variables in the editor allow you to insert new rules but you can't change rules that are already in the config file. What I did to overcome this was to use .ifdef and .endif statements to effectively comment out sections between configurable variables.
The list of things I changed was:
PREFILTER:
PREVALIASNOSTAR:
PREVIRTUALUSER:
PRENOALIASDISCARD:
PREVALIASSTAR:
DIRECTORMIDDLE:
PREDOTFORWARD:
PRELOCALUSER:
There is a significant need for this function. Any chance it can make it into a release.
There is a significant need for this function. Any chance it can make it into a release.
Yeah WHM/cPanel team, please make this happen.
Yeah WHM/cPanel team, please make this happen.
When applying the work-around posted by Nic Jones, be aware that WHM's Exim Configuration Manager advanced editor complains about multiple errors in the work-around, but save it anyway.
After I applied the work-around exim allows the "plus addressed" messages to get through, but it also bounces a "Mail delivery failed: returning message to sender" message back to the sender.
cPanel Team, you really should come up with a better solution for this. As far as I'm concerned, without a working configuration option to make this work easily, cPanel's mail system is "broken". If it stays broken, I'll have to move my servers away from cPanel.
When applying the work-around posted by Nic Jones, be aware that WHM's Exim Configuration Manager advanced editor complains about multiple errors in the work-around, but save it anyway.
After I applied the work-around exim allows the "plus addressed" messages to get through, but it also bounces a "Mail delivery failed: returning message to sender" message back to the sender.
cPanel Team, you really should come up with a better solution for this. As far as I'm concerned, without a working configuration option to make this work easily, cPanel's mail system is "broken". If it stays broken, I'll have to move my servers away from cPanel.
Hello! We are having the same needs. Our Swedish provider is using cPanel and we have to look for alternatives in case we cannot get this feature any time soon (i.e. first two quarters 2015). Thank you in advance!
Best,
Rüdiger
Hello! We are having the same needs. Our Swedish provider is using cPanel and we have to look for alternatives in case we cannot get this feature any time soon (i.e. first two quarters 2015). Thank you in advance!
Best,
Rüdiger
Unintelligent people would have no validation on their web forms. Those forms would accept the "+" symbol even when their email server does NOT support it, and then would deal with tickets and bug reports all day because of it. Then they would complain about it on forums and wherever they could.
The smart ones would never allow their sites to collect addresses that cannot be served. Then they'd make a feature request like this. And then, once it was deployed on the server-side of life, they could easily change the validation on their site to accept the "+"
Cngratulations on making the first step.
Unintelligent people would have no validation on their web forms. Those forms would accept the "+" symbol even when their email server does NOT support it, and then would deal with tickets and bug reports all day because of it. Then they would complain about it on forums and wherever they could.
The smart ones would never allow their sites to collect addresses that cannot be served. Then they'd make a feature request like this. And then, once it was deployed on the server-side of life, they could easily change the validation on their site to accept the "+"
Cngratulations on making the first step.
This feature is absolutely necessary nowadays. Too many people are used to this functionality in gmail and try to use it on my server. I can sign them up for a google apps account and charge them more I suppose, but i don't want to do that...
This feature is absolutely necessary nowadays. Too many people are used to this functionality in gmail and try to use it on my server. I can sign them up for a google apps account and charge them more I suppose, but i don't want to do that...
Copy of my email to support:
You know what is funny? Funny is that you're using subaddressing in your own ticket system (like i'm getting emails with sender address like - 6722469+***HIDDEN***@tickets.cpanel.net). But you're still wondering if your customers need that feature? Are this for real? :)
Correct me if i'm wrong - that means that your ticket system hosted not on the WHM/Cpanel servers? Otherwise you cannot use "plus-emails" in your ticket system because CPanel doesn't support it.
If I'm right - do you think you still need to ask your customers if this feature should be implemented in CPanel?! It should! Asap.
Copy of my email to support:
You know what is funny? Funny is that you're using subaddressing in your own ticket system (like i'm getting emails with sender address like - 6722469+***HIDDEN***@tickets.cpanel.net). But you're still wondering if your customers need that feature? Are this for real? :)
Correct me if i'm wrong - that means that your ticket system hosted not on the WHM/Cpanel servers? Otherwise you cannot use "plus-emails" in your ticket system because CPanel doesn't support it.
If I'm right - do you think you still need to ask your customers if this feature should be implemented in CPanel?! It should! Asap.
Mailman is able to use plus addressing in Cpanel. Can't be that hard for Cpanel to implement.
Mailman is able to use plus addressing in Cpanel. Can't be that hard for Cpanel to implement.
Would it be possible to use "default address" and a perl or php script to catch the mails and redirect them to the correct address?
Would it be possible to use "default address" and a perl or php script to catch the mails and redirect them to the correct address?
A hack to do it: http://geek.michaelgrace.org/2015/05/setup-gmail-like-plus-addressing-on-shared-cpanel-hosting/
I am voting for this feature.
A hack to do it: http://geek.michaelgrace.org/2015/05/setup-gmail-like-plus-addressing-on-shared-cpanel-hosting/
I am voting for this feature.
This feature has been standard on GMail for over a decade. It should not require a "hack" or external script, it should be a core feature. I'll be seeking alternatives to cPanel based hosting for my domains until plus addressing is implemented. Thanks.
This feature has been standard on GMail for over a decade. It should not require a "hack" or external script, it should be a core feature. I'll be seeking alternatives to cPanel based hosting for my domains until plus addressing is implemented. Thanks.
Hope it helps somebody.
Hope it helps somebody.
This functionality will be included in v58 and is available in EDGE
This functionality will be included in v58 and is available in EDGE
cPanel & WHM v58 has just gone to CURRENT and includes this functionality. If you have any questions let me know, or if you experience any problems with it, please do submit a ticket and let us know!
https://documentation.cpanel.net/display/58Docs/58%20Release%20Notes#id-58ReleaseNotes-Emailsubaddresses
cPanel & WHM v58 has just gone to CURRENT and includes this functionality. If you have any questions let me know, or if you experience any problems with it, please do submit a ticket and let us know!
https://documentation.cpanel.net/display/58Docs/58%20Release%20Notes#id-58ReleaseNotes-Emailsubaddresses
Replies have been locked on this page!