A subaddressing introduction

I’d like to introduce everyone to one of MDaemon’s newer features, a potentially powerful one that is woefully under-utilized. Here is the entry from the release notes:

  * [6182] SUBADDRESSING *
    Added support for subaddressing.  Subaddressing is a system for including 
    a folder name in an email address.  Replies or emails sent to that email 
    address will pull the folder from the address and move the message into 
    folders automatically without the need to setup filtering rules.
    The syntax is: "mailbox+folder@domain".  So, for example, the email
    address "[email protected]" would route messages directly into 
    [email protected]'s "ietf" IMAP folder (assuming that folder exists).  
    Nested folders can be specified using period characters.  For example, 
    "[email protected]" would route messages directly into 
    [email protected]'s "industry\ietf" IMAP mail folder (again, assuming that
    folder exists).  Underscores are used for spaces in folder names.  For
    example, "[email protected]" would route messages 
    directly into [email protected]'s "my friends\frank" IMAP mail folder.
    The folder must exist prior to being used with subaddressing.  Otherwise, 
    the address will be treated as unknown.  This is necessary to prevent

Oh, and good to know, you need to turn this feature on before you can use it:

    A new switch has been added to the Filters tab within the account editor
    which will allow you to enable/disable subaddressing on a per account
    basis.  As a result of the need to delimit using the + character this 
    feature will be unavailable to accounts which include + in their email
    address local-part (mailbox).
    This feature can be shut down globally irrespective of individual account
    configuration via a new switch on the Misc Options|Misc UI.  By default,
    each account has this feature disabled individually.

Okay, so with that out of the way, what can you do with this feature?

Well, say you’re a IMAP or WorldClient user most of the time, but want to use a cellphone that doesn’t support uploading sent messages to IMAP. No problem, have your phone automatically BCC mail to [email protected] (assuming you’re [email protected], of course).

Another example would be to route mail you only want to receive for a short period of time directly to a specific folder, but then once you’re done with that fake address, delete the folder and instantly stop receiving mail.

I’ll have a few more goodies that build on subaddressing shortly, stay tuned.

CC BY-NC-ND 4.0 A subaddressing introduction by Dave Warren (everything-mdaemon.com) is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

2 Replies to “A subaddressing introduction”

  1. Hi,

    I’ve been trying to test the example for the subaddressing and have a little problem. I’ve setup my own email account to allow subaddressing and verified that the feature isn’t turned off for all accounts. However I always get an undeliverable message back from my test messages.

    The only difference from the example that I can see is that my email address has a . between my firstname and surname e.g. peter.taylor@ – Would the following format not work to subaddress to an IMAP folder labelled ‘test’?

    [email protected]

    Many thanks :o)


  2. Hey Peter,

    This actually should work just fine, I did a bunch of testing locally and at least in 10.0.5rc1, this format works fine.

    Are you still having issues?

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.