Has anyone gotten exim subaddressing to work?

One feature of many MTAs these days is subaddressing. Meaning you could have email sent to username.subaddress@domain.com and it would go to the "subaddress" folder in username's email folder.

Such functionality is not built into cpanel/whm, but it can be added. I was wondering is anyone has.

If there's enough support, this could be a great feature to add to cpanel. gmail has this feature and it's been very nice to be able to sign up for mailing lists with username.LISTS@domain.com and have all of it filtered into its own folder automatically.

This will enable username-extension for any value of extension. But
it will still get dropped into your default mailbox. To do more
with this, you can use exim's built in filtering. You must create a
~/.forward file with the following first line:

# Exim filter

And you can then use rules like the following to save mail into
different mailboxes:

if $local_part_suffix is "-foo"
then
save $home/Mail/foo-folder
elif $local_part_suffix is "-bar"
then
pipe "/usr/local/mh/lib/rcvstore +bar"
endif

Click to expand...

How would one make a wilcard .forward to automatically make folders and sort based on the subaddress? Users would be loathe to create an new imap folder and .forward rule for every subaddress they want, so the rule should automatically create folders for new subaddresses it finds.