Coder Social home page Coder Social logo

Comments (5)

andris9 avatar andris9 commented on June 10, 2024

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.

SpoortiPalakshaiah avatar SpoortiPalakshaiah commented on June 10, 2024

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.

andris9 avatar andris9 commented on June 10, 2024

Is [email protected] a registered address?

What happens with the email? Does it get rejected?

from haraka-plugin-wildduck.

SpoortiPalakshaiah avatar SpoortiPalakshaiah commented on June 10, 2024

@andris9
[email protected] is the registered address and the mail is getting delievered to [email protected]

from haraka-plugin-wildduck.

andris9 avatar andris9 commented on June 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.