Skip to content
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

Proxy pipeline step #33

Closed
foxcpp opened this issue Apr 5, 2019 · 1 comment
Closed

Proxy pipeline step #33

foxcpp opened this issue Apr 5, 2019 · 1 comment
Labels
rfc Request For Comments (ongoing discussion / research needed).

Comments

@foxcpp
Copy link
Owner

foxcpp commented Apr 5, 2019

As an SMTP pipeline step:

proxy address0 address1 address2

Addresses use the same syntax as config definitions for endpoint modules. Remotes are tried in specified order, no more remotes will be tried after a successful transaction.

@foxcpp foxcpp added pipeline Related to message pipeline code. smtp labels Apr 6, 2019
@foxcpp foxcpp removed the smtp label May 25, 2019
@foxcpp
Copy link
Owner Author

foxcpp commented May 27, 2019

I guess it could be better to add forwarding functionality to the remote module. It could benefit from sharing code for MTA-STS policies, for example (#81).

Defaults, send message depending on the recipient domain and target MTA discovered using MX records.

deliver remote

Skip target MTA discovery and just hand all messages to the first working MTA in the list.

deliver remote {
  forward_to ADDR1 ADDR2 ADDR3
}

Basically the same, but apply MX-based discovery.

deliver remote {
  foward_to_mx DOMAIN1
}

Additional directives, extending the remote module in general:

  • auth USER PASS
    Authenticate using SASL PLAIN to the remote server.

  • auth forward
    Pass local credentials to the remote MTA, causes an error if the client is not authenticated.

@foxcpp foxcpp added this to the 0.1 milestone May 27, 2019
@foxcpp foxcpp added the rfc Request For Comments (ongoing discussion / research needed). label May 27, 2019
@foxcpp foxcpp removed the pipeline Related to message pipeline code. label Sep 19, 2019
@foxcpp foxcpp closed this as completed in 32d1580 Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rfc Request For Comments (ongoing discussion / research needed).
Projects
None yet
Development

No branches or pull requests

1 participant