-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bounce: non_local_msgid is broken #1
Comments
Is this now closed due to haraka/Haraka#1430? |
It's still open. It needs a mechanism within Haraka to ask, "is this domain name local?" Because "local" domains are typically defined in plugins, it's more than a trivial task. In my case, I have "local" domains defined in smtp_forward.ini and externally (via qmail-deliverable), so Haraka accepts mails for domains it knows nothing of. Hence, the stall. For something like this to work reliably, we'd almost need a plugin like known-senders except as |
There are a couple of plugins, that if loaded (e.g. rcpt_to.in_host_list and relay) that could probably do this without a Redis DB as the domains are defined in their configuration. It would just have to skip anything else. |
fixed by #4 |
I was just looking at the bounce plugin as I had a new idea for a test and I noticed that non_local_msgid:
Additionally - when I gave this a quick test using the plugin test mode; it blew up immediately because I didn't surround the Message-ID in <>'s:
And when I did; the regexps pulled out the wrong values because:
domains.push(res[0].substring(1, (res[0].length -2)));
is off-by-one. It would be better to use a regexp capture instead of the substring IMO anyway.The text was updated successfully, but these errors were encountered: