Comments (5)
Currently you can use wildcards either as user part or domain part but not both, so there is no catch-all option. If you would add an address like *@example.com
->[email protected]
then emails to [email protected]
would be delivered to [email protected]
but emails to [email protected]
would be rejected as there is no suitable match. Wildcard for domain is mainly meant for addresses like postmaster@*
, abuse@*
etc.
from haraka-plugin-wildduck.
Hi @andris9 I followed the steps as you mentioned but did not get the result as expected
Steps followed:
I have created user as [email protected]
and added address using curl -i -XPOST https://<domain>/users/:user/addresses -H 'Content-type: application/json' -d '{ "address": "*@example.com","allowWildcard":true}'
.
Expected results:
Mail sent to [email protected]
should be delivered to [email protected]
Results:
Mail sent to [email protected]
is not delivered to [email protected]
from haraka-plugin-wildduck.
Is [email protected] a registered address?
What happens with the email? Does it get rejected?
from haraka-plugin-wildduck.
@andris9
[email protected]
is the registered address and the mail is getting delievered to [email protected]
from haraka-plugin-wildduck.
I see. Wildcard addresses are catchall addresses, not copies - email is routed either to a registered address or to a catchall address but not both. You would have to write a custom plugin for haraka that adds additional address to the recipients list during the rcpt_to hook and load the plugin before WildDuck plugin. This way WildDuck would see that the message is not for one but two accounts.
from haraka-plugin-wildduck.
Related Issues (8)
- How to enable "logdebug" to be written to syslog HOT 1
- Problem with new versions HOT 9
- Mails are not queued HOT 5
- Haraka crashin. TypeError Cannot read property 'uuid' of null HOT 2
- Cannot read property 'rcpt_to' of null
- Quota exceeded results in lost email without warnings
- How to support group functionality HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haraka-plugin-wildduck.