Setting up Sub-Addressing
Hi Everybody!
I am attempting to set up an email account with sub-addressing. I want to be able to send an email to userx+anything@mydomain.com[/EMAIL] and have it go to userx@mydomain.com[/EMAIL].
- I went into CPanel and in the email section I went into Global Email Filters.
- I created a newfilter and named it UserX.
- Under Rules I chose "To" and "begins with" and in the field I entered "userx+" (without the quotes)
- under Actions I chose "Redirect to Email" and I entered userx@mydomain.com[/EMAIL]
- I clicked Create and I saw a promising message in green that advised me of my success
I alt-tabbed back to Outlook and confidently sent an email to userx+1@mydomain.com[/EMAIL]. After a moment I received a message in my inbox:
Well, that's not what I was hoping for. During this time I'm also tailing the exim log file and it confirmed with "...rejected RCPT : No such person at this address." "OK" I said to myself, "Perhaps I misunderstood what a global email filter is for." However there was a form there that allows me to test the filter so I entered the following:
When I hit the Test Filter button I was advised that:
I restarted the mail server and sent the same email again, and got the same result. I deleted the global filter and followed the instructions at geek.michaelgrace.org/2015/05/setup-gmail-like-plus-addressing-on-shared-cpanel-hosting/'. I set my system account as the default address, and then went into "Email Filters" I selected "Manage Filters" beside my system account and created the same filter as outlined above. I sent another email, and in my logs I see "...rejected RCPT : Unrouteable address" and a message in my inbox informing me of essentially the same. I deleted that filter and did the same thing, setting up the default address as administrator@mydomain.com[/EMAIL] and setting up a filter on that account as well. I got the same results. It never seems to run the filter despite the fact that the "Filter Test" assures me that all is well. I finally double checked the forwarders I have set up on the account and can confirm that nothing there is interfering with any of the email addresses involved. Thanks in advance for your assistance.
Your message couldn't be delivered because the recipient's email system reported the following error: '550 Unrouteable address'.
Well, that's not what I was hoping for. During this time I'm also tailing the exim log file and it confirmed with "...rejected RCPT : No such person at this address." "OK" I said to myself, "Perhaps I misunderstood what a global email filter is for." However there was a form there that allows me to test the filter so I entered the following:
To: userx+1@mydomain.com[/EMAIL]
From: test@localhost
Subject: test
This is a test message.
When I hit the Test Filter button I was advised that:
The Filter has matched the following condition(s):
$header_to: begins userx+
Return-path copied from sender
Sender = systemaccount@vps.mydomain.com[/EMAIL]
Recipient = systemaccount@vps.mydomain.com[/EMAIL]
Testing Exim filter file "/etc/vfilters/mydomain.com"
Deliver message to: userx@mydomain.com[/EMAIL]
Filtering set up at least one significant delivery or other action.
No other deliveries will occur.
I restarted the mail server and sent the same email again, and got the same result. I deleted the global filter and followed the instructions at geek.michaelgrace.org/2015/05/setup-gmail-like-plus-addressing-on-shared-cpanel-hosting/'. I set my system account as the default address, and then went into "Email Filters" I selected "Manage Filters" beside my system account and created the same filter as outlined above. I sent another email, and in my logs I see "...rejected RCPT : Unrouteable address" and a message in my inbox informing me of essentially the same. I deleted that filter and did the same thing, setting up the default address as administrator@mydomain.com[/EMAIL] and setting up a filter on that account as well. I got the same results. It never seems to run the filter despite the fact that the "Filter Test" assures me that all is well. I finally double checked the forwarders I have set up on the account and can confirm that nothing there is interfering with any of the email addresses involved. Thanks in advance for your assistance.
-
Hello :) The destination forwarder addresses will accept plus signs. However, plus signs for the source email address are not supported. Here's an open feature request that you can add feedback to, and vote for: Email sub-addressing (plus addressing) | cPanel Feature Requests Note that a custom workaround is referenced in the comments section of this request. Thank you. 0 -
This feature request has been languishing for more than two years with no apparent movement. I tried the referenced "workaround" and it doesn't work. I made modifications directly to exim.conf, but that apparently gets overwritten on a frequent basis. I guess there is no solution forthcoming. 0 -
I made modifications directly to exim.conf, but that apparently gets overwritten on a frequent basis.
Please use the "Advanced Editor" for Exim to ensure any custom changes are preserved: Exim Configuration Manager - Documentation - cPanel Documentation Thank you.0 -
Here's an open feature request that you can add feedback to, and vote for: Email sub-addressing (plus addressing) | cPanel Feature Requests
It is great that you are replying to this thread, and pointing to the feature request -- however it's over 2 years old! Is cPanel listening? Any possible timeline on implementation? Please!0 -
It is great that you are replying to this thread, and pointing to the feature request -- however it's over 2 years old! Is cPanel listening? Any possible timeline on implementation? Please!
There's no update to report at this time, however I encourage anyone who wants this feature implemented to vote and add feedback to the feature request. Thank you.0
Please sign in to leave a comment.
Comments
5 comments