Skip to content

Handle IP address domains#285

Merged
jhillyerd merged 10 commits intomainfrom
ipaddr-243
Aug 8, 2022
Merged

Handle IP address domains#285
jhillyerd merged 10 commits intomainfrom
ipaddr-243

Conversation

@jhillyerd
Copy link
Copy Markdown
Collaborator

@jhillyerd jhillyerd commented Jul 31, 2022

Handle IP address domains for #243. Also adds support for forward-path routes in RCPT TO.

Given both of these rework how RCPT TO addresses are parsed, this PR has potential for unintended consequences.

@jhillyerd
Copy link
Copy Markdown
Collaborator Author

Domain addressing fails from monitor:

ERR Error handling request error="Character '[' must be quoted" module=web path=/api/v1/mailbox/[127.0.0.1]

Strangely, full addressing does work, ie http://localhost:9000/m/swaks@[127.0.0.1] loads.

@jhillyerd jhillyerd merged commit 1f1a8b4 into main Aug 8, 2022
@jhillyerd jhillyerd deleted the ipaddr-243 branch August 8, 2022 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant