• Resolved cheekycreative

    (@cheekycreative)


    Postfix/Dovecot are tossing back:

    warning: ip6-localhost[::1]: SASL CRAM-MD5 authentication failed: [long hash like string]

    Setup is with Custom SMTP options with all the details filled in other than the password. Then added the custom smtp to wp-config.php with the same details with the addition of the password.

    Same email and server, I setup Rainloop and it connects and sends with CRAM-MD5 but you need to edit the config to turn plain auth off and CRAM-MD5 On. Incase both things use phpmailer or similar library..

    imap_use_auth_plain = Off
    imap_use_auth_cram_md5 = On
    smtp_use_auth_plain = Off
    smtp_use_auth_cram_md5 = On

    Not sure if its something in my setup or if the CRAM-MD5 isn’t functioning right?

    Cheers,
    Ryan

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Gregor Capuder

    (@capuderg)

    Hi Ryan,

    could you please share the whole debug output when sending a Test email in our plugin? Maybe there are some other clues as to what goes wrong.

    Take care!

    Thread Starter cheekycreative

    (@cheekycreative)

    Solved:

    Works fine if I enter the password into the plugin options. Fails if I enter password as a constant in wp-config, my error:

    I missed the define( 'WPMS_ON', true ); line because I jumped straight to the Other SMTP in the instructions.

    Still had an error, the problem was define( ‘WPMS_SSL’, ‘tls’ );. Mail server I have forced TLS 1.2+ on 587. With the line in the docs Possible values '', 'ssl', 'tls' - note TLS is not STARTTLS., TLS is seemingly what I would want.

    I set for TLS and I get warning: TLS library problem: error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:331
    Switch to SSL and it becomes happy and connects TLSv1.3.

    Not sure what the difference in the SSL, TLS settings are in the plugin. Almost seems backwards, I could see SSL tossing the wrong version number error because SSLv2 and SSLv3 are disabled on the mail server. I’m used to the options being None, SSL/TLS, or STARTTLS.

    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CRAM-MD5 Auth Failed’ is closed to new replies.