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

Implement mua mode #29

Open
jetmore opened this issue Nov 26, 2020 · 0 comments
Open

Implement mua mode #29

jetmore opened this issue Nov 26, 2020 · 0 comments
Labels
idea An enhancement I'm not sure is a good idea yet
Milestone

Comments

@jetmore
Copy link
Owner

jetmore commented Nov 26, 2020

Split swaks functionality into mua mode and test mode. Swaks was designed as a test tool, but has a healthy set of uses as a straight MUA. Trying to serve two masters has lead to some compromises that are not ideal. For instance, swaks will not send AUTH unless the server advertises auth. This is correct behavior for an MUA, but hobbles an admin who wants to understand what their server does when AUTH is sent without being advertised. Conversely, we only ever try one server, which is appropriate for an admin testing specific servers, but deficient for a user who is just trying to send a mail (in which case we should try all MX records).

Items from my notes that might be related to this, or that this might be a blocker for:

  • XCLIENT and XFORWARD have length limits but swaks doesn't try to enforce them (by breaking up the strings into multiple calls). Might be interesting to support them

  • try more than one MX?
    If delivering via MX, keep trying MX until one succeeds
    Add new option for this, not default behavior
    how behave if receive 4xx level error?

  • Swaks should be able to break rules for testing
    Subject: Force Authentication Attempt? :: Dave Page 1/16/18
    --lax mode so that checks like "make sure auth is advertised before trying auth" can work?

  • in mua mode, we would do MX lookups for every recipient instead of sending every recipient to the last user's MX

  • in MUA mode, require DNS be operational, do not fall back to localhost

@jetmore jetmore added the idea An enhancement I'm not sure is a good idea yet label Nov 26, 2020
@jetmore jetmore added this to the MUA milestone Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea An enhancement I'm not sure is a good idea yet
Projects
None yet
Development

No branches or pull requests

1 participant