SMTP Authentication Support will not connect on all machines.

Created on 22 January 2024, 12 months ago
Updated 29 January 2024, 11 months ago

Good day,

I tried this module on 3 separate servers, it does not work on any (one live server, two test servers).

This is, what I get instead.

    SMTP.module is active.
    Die Konfigurationsoptionen wurden gespeichert.
    SMTP -> get_lines(): $data was ""
    SMTP -> get_lines(): $str is "220 mailsub004.protonmail.ch ESMTP Postfix "
    SMTP -> get_lines(): $data was "220 mailsub004.protonmail.ch ESMTP Postfix "
    SMTP -> FROM SERVER: 220 mailsub004.protonmail.ch ESMTP Postfix
    SMTP -> get_lines(): $data was ""
    SMTP -> get_lines(): $str is "250-mailsub004.protonmail.ch "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch "
    SMTP -> get_lines(): $str is "250-PIPELINING "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING "
    SMTP -> get_lines(): $str is "250-SIZE 36480000 "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING 250-SIZE 36480000 "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING 250-SIZE 36480000 "
    SMTP -> get_lines(): $str is "250-STARTTLS "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING 250-SIZE 36480000 250-STARTTLS "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING 250-SIZE 36480000 250-STARTTLS "
    SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING 250-SIZE 36480000 250-STARTTLS 250-ENHANCEDSTATUSCODES "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING 250-SIZE 36480000 250-STARTTLS 250-ENHANCEDSTATUSCODES "
    SMTP -> get_lines(): $str is "250-8BITMIME "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING 250-SIZE 36480000 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING 250-SIZE 36480000 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME "
    SMTP -> get_lines(): $str is "250 CHUNKING "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING 250-SIZE 36480000 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 CHUNKING "
    SMTP -> FROM SERVER: 250-mailsub004.protonmail.ch 250-PIPELINING 250-SIZE 36480000 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 CHUNKING
    SMTP -> get_lines(): $data was ""
    SMTP -> get_lines(): $str is "220 2.0.0 Ready to start TLS "
    SMTP -> get_lines(): $data was "220 2.0.0 Ready to start TLS "
    SMTP -> FROM SERVER: 220 2.0.0 Ready to start TLS
    SMTP -> get_lines(): $data was ""
    SMTP -> get_lines(): $str is "250-mailsub004.protonmail.ch "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch "
    SMTP -> get_lines(): $str is "250-PIPELINING "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING "
    SMTP -> get_lines(): $str is "250-SIZE 36480000 "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING 250-SIZE 36480000 "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING 250-SIZE 36480000 "
    SMTP -> get_lines(): $str is "250-AUTH PLAIN "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING 250-SIZE 36480000 250-AUTH PLAIN "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING 250-SIZE 36480000 250-AUTH PLAIN "
    SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING 250-SIZE 36480000 250-AUTH PLAIN 250-ENHANCEDSTATUSCODES "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING 250-SIZE 36480000 250-AUTH PLAIN 250-ENHANCEDSTATUSCODES "
    SMTP -> get_lines(): $str is "250-8BITMIME "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING 250-SIZE 36480000 250-AUTH PLAIN 250-ENHANCEDSTATUSCODES 250-8BITMIME "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING 250-SIZE 36480000 250-AUTH PLAIN 250-ENHANCEDSTATUSCODES 250-8BITMIME "
    SMTP -> get_lines(): $str is "250 CHUNKING "
    SMTP -> get_lines(): $data was "250-mailsub004.protonmail.ch 250-PIPELINING 250-SIZE 36480000 250-AUTH PLAIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 CHUNKING "
    SMTP -> FROM SERVER: 250-mailsub004.protonmail.ch 250-PIPELINING 250-SIZE 36480000 250-AUTH PLAIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 CHUNKING
    SMTP -> get_lines(): $data was ""
    SMTP -> get_lines(): $str is "535 5.7.8 Error: authentication failed: Invalid authentication mechanism "
    SMTP -> get_lines(): $data was "535 5.7.8 Error: authentication failed: Invalid authentication mechanism "
    SMTP -> ERROR: AUTH not accepted from server: 535 5.7.8 Error: authentication failed: Invalid authentication mechanism
    SMTP -> get_lines(): $data was ""
    SMTP -> get_lines(): $str is "221 2.0.0 Bye "
    SMTP -> get_lines(): $data was "221 2.0.0 Bye "
    SMTP -> FROM SERVER: @byemsg
    SMTP -> ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed: Name or service not known (0)
    A test e-mail has been sent to zooot@pm.me. You may want to check the logs for any error messages.
    SMTP.module is active.

Is this problem on my end or with my e-mail provider? Or is something wrong with my SSL configuration?

Thanks
Paul

💬 Support request
Status

Active

Version

1.9

Component

Miscellaneous

Created by

🇩🇪Germany paul_constantine

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @paul_constantine
  • 🇩🇪Germany paul_constantine

    I found out the following:

    This error means my system used an outdated or unsupported authentication mechanism (such as AUTH LOGIN) to send the test email.
    Note: Only the tech support of your system can fix this problem.

    You can ask the tech support of your system that:

    Proton SMTP Submission requires using the AUTH PLAIN mechanism to send emails.

    So here is the real question: How do I change my authentication mechanism to AUTH PLAIN? Or does Drupal support AUTH PLAIN?

    Is this even an issue of Drupal or is it the Ubuntu server?

    Cheers
    Paul

  • 🇩🇪Germany paul_constantine

    Nevermind.

    I fixed my problem myself by deleting this module and using the PHPMailer module instead. This module allows me to use the AUTH PLAIN method.

    P.

Production build 0.71.5 2024