nodemailer / wildduck

Opinionated email server
https://wildduck.email/
European Union Public License 1.2
1.91k stars 267 forks source link

wildcard autofiltering #334

Closed DuredhelFinceleb closed 8 months ago

DuredhelFinceleb commented 3 years ago

Is it possible to have mail sent to a wildcard address be auto delivered into a folder named after the wildcard?

=> if a user has a *me@domain address and receives an email on hey.me@domain, the email would be delivered into the "hey" folder of the user's mailbox (with the options of having the folder created if nor existing)

andris9 commented 3 years ago

This is currently not possible. It would probably require some kind of scripting or plugin capabilities in WildDuck so you could create a custom setup for it as it's hard to see as a general feature.

DuredhelFinceleb commented 3 years ago

OK I'll look into this when I have time. Maybe there are some events that couls trigger a webhook? Webhooks might not be the best way to do this though

andris9 commented 3 years ago

Incoming emails are actually processed by Haraka and Haraka already has an existing plugin system, WildDuck email handling is also nothing more than a Haraka plugin. So maybe there should be a way to let other Haraka plugins to somehow interact with the Haraka WildDuck plugin that stores the message. I have to test a bit with that. Haraka plugins are sandboxed though so they can share data but I'm not sure if they can share code as well.

github-actions[bot] commented 8 months ago

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 15 days.

github-actions[bot] commented 8 months ago

This issue was closed because it has been stalled for 15 days with no activity.