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

Support the LOGIN method to expand client compatibility #46

Closed
wants to merge 3 commits into from

Commits on Dec 9, 2023

  1. Skip non-directories like .gitingore in the domains/ directory.

    This prevents chasquid from attempting to look for certs under
    a non-directory, e.g. ./etc/chasquid/domains/.gitignore/certs
    erjoalgo committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    e8e663f View commit details
    Browse the repository at this point in the history
  2. Support the LOGIN method over TLS to support more clients like ssmtp.

    Some clients do support TLS but use the LOGIN method, where the client
    waits for a password prompt before sending the password, as opposed to the
    currently-supported PLAIN method, where the client sends both username and
    password as part of a single request. This minimal change attempts to support
    the LOGIN method by parsing credentials, and then converting them into a
    PLAIN-like auth string.
    
    Example such client:
    
    https://salsa.debian.org/debian/ssmtp/-/blob/master/ssmtp.c#L1513
    erjoalgo committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    9002042 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d231048 View commit details
    Browse the repository at this point in the history