Plus-addressing lets a user hand out tagged variants of one address — user+shopping@example.com, user+newsletters@example.com — that all deliver to the same user@example.com mailbox, while making it trivial to see which tag a message came in on and to file or filter by it. On a cPanel server running Dovecot this works out of the box, and with one detail configured it will auto-sort tagged mail into matching folders. This runbook explains how subaddressing behaves on cPanel, how to file tagged mail automatically, and what to check when a +tag address unexpectedly bounces.
What’s happening
The plus sign is a subaddress delimiter. When mail arrives for user+shopping@example.com, the local delivery agent strips everything from the + to the @, delivers to the base mailbox user@example.com, and remembers the tag (shopping). The tag survives in the To:/Delivered-To: headers, so the user can filter on it, and the same base mailbox receives every variant without creating any extra accounts. The user never has to set anything up in advance — any +tag they invent works immediately, which is what makes it useful for giving a distinct address to each service.
On cPanel, Dovecot handles local delivery and supports the + delimiter natively. There is one behavior worth knowing: Dovecot can be configured so that the tag automatically selects a folder — mail to user+shopping@ lands in a shopping IMAP folder if that folder exists (the recipient_delimiter plus the LMTP/Sieve folder-routing). Where plus-addressing trips up is at the sender’s end or in filters: some external forms reject a + in the address field, and a poorly written cPanel email filter that matches the literal full address may miss tagged variants. Knowing that the + is stripped before mailbox matching explains most surprises.
How to verify
Confirm Dovecot’s recipient delimiter and that tagged mail routes to the base mailbox.
# What delimiter does Dovecot use? (default is +)
doveconf recipient_delimiter 2>/dev/null
grep -ri 'recipient_delimiter' /etc/dovecot/ 2>/dev/null
# Does a tagged address route to the base mailbox?
exim -bt user+shopping@example.com # should resolve to user@example.com
Send a tagged test and watch it deliver, then confirm the tag is preserved:
# Watch delivery of a +tag message
tail -f /var/log/exim_mainlog | grep 'user+shopping@example.com'
# The tag appears in the delivered message's headers
grep -ri 'Delivered-To: user+shopping' /home/<cpaneluser>/mail/example.com/user/ 2>/dev/null | head
If you want tag-to-folder filing, confirm the folder exists and the routing is enabled:
# Does an IMAP folder named for the tag exist?
ls -la /home/<cpaneluser>/mail/example.com/user/.shopping/ 2>/dev/null
# Dovecot LMTP / Sieve folder behavior
doveconf -n 2>/dev/null | grep -iE 'lmtp|sieve|delimiter'
The fix
-
Use any
+tagimmediately — no setup needed — tell the user they can append+anythingto their address and it just works:user+amazon@example.com,user+bank@example.comall reachuser@example.com. Each service gets a distinct address with zero configuration, and they can later filter on the tag to see who shared or leaked it. -
Filter tagged mail into folders with a cPanel Email Filter — in cPanel » Email » Email Filters for the account, create a rule that matches the To header containing
+shopping@example.comand files it into a folder. This is the portable way to auto-sort, and it works regardless of the underlying delivery detail. Match theTo/Delivered-Toheader, not the exact full address as a string. -
Enable Dovecot tag-to-folder delivery for automatic filing — if you want
user+shopping@to land directly in ashoppingfolder without a per-user filter, the server’s Dovecot config can route the subaddress to a same-named folder. Confirmrecipient_delimiteris+and the LMTP/Sieve folder routing is in place; create the target IMAP folder so delivery has somewhere to land. -
Fix a filter that matches the literal address and misses tags — if an existing Email Filter or forwarder is set to match
user@example.comexactly, tagged variants may slip past it. Adjust the rule to match the base portion or theToheader pattern souser+*@example.comis covered. -
Work around senders that reject the
+character — some web forms wrongly refuse a+in the email field. There is nothing to fix on cPanel; advise the user to use a different sign-up method for that service, or accept that this particular sender cannot use a tagged address. -
Do not confuse subaddressing with separate accounts or forwarders — plus-addresses are not real mailboxes and consume no extra account slots or quota beyond the base mailbox. If a user actually needs a separate, independently authenticatable address, create a real email account or a forwarder instead; subaddressing is for one person organizing one inbox.
-
Check delivery if a tagged address bounces — if
user+tag@bounces whileuser@works, runexim -bt user+tag@example.com; anunknown userresult usually means the delimiter is not+on this server or a filter is rejecting it. Restore the default delimiter or fix the offending filter.
Once verified, the user can hand out a unique tagged address per service and file or trace mail by tag, all without you creating a single extra account. Subaddressing is one of the lowest-effort organizational wins a mailbox has, because the + is handled at delivery and needs nothing from the sender. Stack Harbor configures cPanel mail delivery and filtering under cPanel/WHM management — start a conversation.