Resolved – SMTP Error (250): failure during authentication (ROUNDCUBE) | Plesk Forum

8 comments on “ roundcube smtp error (250): authentication failed ”

Yes, this fixed worked for me as well.

Where can I find this files?

You can find it in roundcube config directory. For example in Centos its in /var/www/html/roundcube/config & in Ubuntu its in /var/www/roundcube/config.

Thanks for this, fixed it for me too 🙂

Thanks a lot, fixed it for me,

Many thanks it work for me too

thanks, it works!!

This trick doesn’ work if: smtpd_tls_auth_only = yes

I changed: // SMTP server host (for sending mails). // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls:// //$config[‘smtp_server’] = ‘localhost’; $config[‘smtp_server’] = ‘tls://localhost’;

// SMTP port (default is 25; use 587 for STARTTLS or 465 for the // deprecated SSL over SMTP (aka SMTPS)) //$config[‘smtp_port’] = 25; $config[‘smtp_port’] = 587;

Now everything works fine.

Nevertheless this blog gave me the hint to look in the right place, so thanks!

Linux and open source blog

Recently while trying to install roundcube I am stuck with the error “roundcube SMTP Error (250): Authentication failed”.

With the error the clear hint is there should be some issue with SMTP setting, so I checked all SMTP settings and I had bit doubt on following settings.

After doing some experiments with my main.inc.php file following tweaks are worked for me.

Linux roundcube ошибка авторизации 250

Ошибка возникает при попытке отправки сообщения

При настройке указал в default.inc.php

$config[‘smtp_auth_type’] = ‘LOGIN PLAIN’;

LOGIN похоже не рабочий метод

Если поставить $config[‘smtp_auth_type’] = null;

Resolved – smtp error (250): failure during authentication (roundcube)

CONNECTED(00000003)

depth=3 C = SE, O = AddTrust AB, OU = AddTrust External TTP Network, CN = AddTrust External CA Root

verify return:1

depth=2 C = GB, ST = Greater Manchester, L = Salford, O = COMODO CA Limited, CN = COMODO RSA Certification Authority

verify return:1

depth=1 C = GB, ST = Greater Manchester, L = Salford, O = COMODO CA Limited, CN = COMODO RSA Domain Validation Secure Server CA

verify return:1

depth=0 OU = Domain Control Validated, OU = PositiveSSL, CN = MYDOMAIN.com

verify return:1

Certificate chain

Похожее:  Скачать Майнкрафт TLauncher PE лаунчер

0 s:/OU=Domain Control Validated/OU=PositiveSSL/CN=MYDOMAIN.com

i:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA

1 s:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA

i:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Certification Authority

2 s:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Certification Authority

i:/C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root

3 s:/C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root

i:/C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root

Server certificate

—–BEGIN CERTIFICATE—–

MIIGTjCCBTagAwIBAgIQczk3TthmLY2LmIQwznV9cTANBgkqhkiG9w0BAQsFADCB

kDELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G

A1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxNjA0BgNV

BAMTLUNPTU9ETyBSU0EgRG9tYWluIFZhbGlkYXRpb24gU2VjdXJlIFNlcnZlciBD

QTAeFw0xNzA1MjAwMDAwMDBaFw0yMDA0MjkyMzU5NTlaMFIxITAfBgNVBAsTGERv

bWFpbiBDb250cm9sIFZhbGlkYXRlZDEUMBIGA1UECxMLUG9zaXRpdmVTU0wxFzAV

BgNVBAMTDmRpc2NvdW50cjEuY29tMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIIC

CgKCAgEA19N7 63EtrSon wvSQtW4cYAQZz7O6hdcB7K3cni gVAck0SrYioNJPW

UnDePhROuFMoXqw 8ABfHQF/MsICANx0 sAn/Ehkhb2LIPC5Ny71GQZxGRPWo7Qx

dRZ5trP3E9gjZQi8YnTdPl4hmKukqDxZnL2/2TvF//8UwivsJCeVPDj6Loed8v1F

Ru MaSMGxWfhWQ 3ChPFv cpMYNztK7vhkcX8gwGdCI8F/3VYgEw4rE6J9Fl1hNj

0tSM3Za/LH bla bla blabla bla bla bla bla bla bla bla bla 9uU2VjdXJlU2Vy

dmVyQ0EuY3J0MCQGCCsGAQUFBzABhhhodHRwOi8vb2NzcC5jb21vZG9jYS5jb20w

LQYDVR0RBCYwJIIOZGlzY291bnRyMS5jb22CEnd3dy5kaXNjb3VudHIxLmNvbTAN

BgkqhkiG9w0BAQsFAAOCAQEATpcneb56Z4AfB0NJA/CjOEeINulCUkPO3ZhdQjlC

D/rrp1SKpTLJofOOo2cyyEyHLrhn/v2S0uEUD6yyAbSc7UjkQiIOmXhVmwcDF21H

alEsiI8HLdDl5 pBs23eTNOetjl328VlZ473MVt0uUtb HVV5JBNUjBQwH/fPu8m

wvoxCx/qePlpXJ0BX5nQqqYWr2 Fm6GFUhJEF0vViajw6AZmV2Sp44JK VK/v6Il

VuKcnfoK1Cxv0Pn4xdiRNeaxJvxYcQRxVFndIOFThpFNjhgPQySCyUBKmm6BD9Q2

2PrHNswq2RqpBhcHjHH0z19nfpPw/1g0mBnGcXjZqggjkQ==

—–END CERTIFICATE—–

subject=/OU=Domain Control Validated/OU=PositiveSSL/CN=MYDOMAIN.com

issuer=/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA

No client certificate CA names sent

Server Temp Key: ECDH, prime256v1, 256 bits

SSL handshake has read 6789 bytes and written 408 bytes

New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-GCM-SHA384

Server public key is 4096 bit

Secure Renegotiation IS supported

Compression: NONE

Expansion: NONE

SSL-Session:

Protocol : TLSv1.2

Cipher : ECbla bla blabla bla bla bla bla bla bla bla bla A384

Session-ID: 411F4EFE4FD1CFbla bla blabla bla bla bla bla bla bla bla bla 086DF34032D4290FC8

Session-ID-ctx:

Master-Key: 247B4E0918AC6B247C28C8DD7115Fbla bla blabla bla bla bla bla bla bla bla bla

Key-Arg : None

Krb5 Principal: None

PSK identity: None

PSK identity hint: None

TLS session ticket lifetime hint: 3600 (seconds)

TLS session ticket:

0000 – cf 8d 5b dc fa a4 ad b3-51 c7 2f 60 7e dc 91 75 ..[…..Q./`~..u

0010 – 6a ad 43 d2 3e 86 24 51-f6 79 ef 38 e4 05 53 8f j.C.>.$Q.y.8..S.

0020 – f8 86 62 51 de 1f 79 af-f0 9b a4 bc 0d 0f a9 88 ..bQ..y………

0030 – 5c 78 15 25 1f 04 8a eb-a7 e5 20 82 2e cd f8 b8 x.%…… …..

0040 – 1f 15 9a dd c8 2d 73 b5-bb ab d0 fa e4 06 d9 49 …..-s……..I

Похожее:  Локальное хранилище или куки? Безопасное хранение JWT на клиенте / Хабр

0050 – be 15 6f cf 7f 65 e1 1c-39 e6 11 30 ca a8 34 60 ..o..e..9..0..4`

0060 – d4 57 b7 d5 79 70 d9 c6-89 eb 98 9e e0 76 7e d6 .W..yp…….v~.

0070 – f3 6c 93 12 e9 21 7d b9-2c 2a 99 d9 16 2d 1f 7b .l…!}.,*…-.{

0080 – ce 9d 32 3f 7b 49 fb ba-87 8a a1 17 30 44 1f 43 ..2?{I……0D.C

0090 – 51 eb af 93 fa 3f d8 04-62 e0 8e ae d6 a2 07 ab Q….?..b…….

Start Time: 1498249261
Timeout : 300 (sec)
Verify return code: 0 (ok)

250 DSN

#headhache

§

CONNECTED(00000003)

depth=3 C = SE, O = AddTrust AB, OU = AddTrust External TTP Network, CN = AddTrust External CA Root

verify return:1

depth=2 C = GB, ST = Greater Manchester, L = Salford, O = COMODO CA Limited, CN = COMODO RSA Certification Authority

verify return:1

depth=1 C = GB, ST = Greater Manchester, L = Salford, O = COMODO CA Limited, CN = COMODO RSA Domain Validation Secure Server CA

verify return:1

depth=0 OU = Domain Control Validated, OU = PositiveSSL, CN = MYDOMAIN.com

verify return:1

Certificate chain

0 s:/OU=Domain Control Validated/OU=PositiveSSL/CN=MYDOMAIN.com

i:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA

1 s:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA

i:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Certification Authority

2 s:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Certification Authority

i:/C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root

3 s:/C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root

i:/C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root

Server certificate

—–BEGIN CERTIFICATE—–

MIIGTjCCBTagAwIBAgIQczk3TthmLY2LmIQwznV9cTANBgkqhkiG9w0BAQsFADCB

kDELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G

A1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxNjA0BgNV

BAMTLUNPTU9ETyBSU0EgRG9tYWluIFZhbGlkYXRpb24gU2VjdXJlIFNlcnZlciBD

QTAeFw0xNzA1MjAwMDAwMDBaFw0yMDA0MjkyMzU5NTlaMFIxITAfBgNVBAsTGERv

bWFpbiBDb250cm9sIFZhbGlkYXRlZDEUMBIGA1UECxMLUG9zaXRpdmVTU0wxFzAV

BgNVBAMTDmRpc2NvdW50cjEuY29tMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIIC

CgKCAgEA19N7 63EtrSon wvSQtW4cYAQZz7O6hdcB7K3cni gVAck0SrYioNJPW

UnDePhROuFMoXqw 8ABfHQF/MsICANx0 sAn/Ehkhb2LIPC5Ny71GQZxGRPWo7Qx

dRZ5trP3E9gjZQi8YnTdPl4hmKukqDxZnL2/2TvF//8UwivsJCeVPDj6Loed8v1F

Ru MaSMGxWfhWQ 3ChPFv cpMYNztK7vhkcX8gwGdCI8F/3VYgEw4rE6J9Fl1hNj

0tSM3Za/LH bla bla blabla bla bla bla bla bla bla bla bla 9uU2VjdXJlU2Vy

dmVyQ0EuY3J0MCQGCCsGAQUFBzABhhhodHRwOi8vb2NzcC5jb21vZG9jYS5jb20w

LQYDVR0RBCYwJIIOZGlzY291bnRyMS5jb22CEnd3dy5kaXNjb3VudHIxLmNvbTAN

BgkqhkiG9w0BAQsFAAOCAQEATpcneb56Z4AfB0NJA/CjOEeINulCUkPO3ZhdQjlC

D/rrp1SKpTLJofOOo2cyyEyHLrhn/v2S0uEUD6yyAbSc7UjkQiIOmXhVmwcDF21H

alEsiI8HLdDl5 pBs23eTNOetjl328VlZ473MVt0uUtb HVV5JBNUjBQwH/fPu8m

wvoxCx/qePlpXJ0BX5nQqqYWr2 Fm6GFUhJEF0vViajw6AZmV2Sp44JK VK/v6Il

VuKcnfoK1Cxv0Pn4xdiRNeaxJvxYcQRxVFndIOFThpFNjhgPQySCyUBKmm6BD9Q2

2PrHNswq2RqpBhcHjHH0z19nfpPw/1g0mBnGcXjZqggjkQ==

—–END CERTIFICATE—–

subject=/OU=Domain Control Validated/OU=PositiveSSL/CN=MYDOMAIN.com

issuer=/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA

Похожее:  Как настроить rdp в rms

No client certificate CA names sent

Server Temp Key: ECDH, prime256v1, 256 bits

SSL handshake has read 6789 bytes and written 408 bytes

New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-GCM-SHA384

Server public key is 4096 bit

Secure Renegotiation IS supported

Compression: NONE

Expansion: NONE

SSL-Session:

Protocol : TLSv1.2

Cipher : ECbla bla blabla bla bla bla bla bla bla bla bla A384

Session-ID: 411F4EFE4FD1CFbla bla blabla bla bla bla bla bla bla bla bla 086DF34032D4290FC8

Session-ID-ctx:

Master-Key: 247B4E0918AC6B247C28C8DD7115Fbla bla blabla bla bla bla bla bla bla bla bla

Key-Arg : None

Krb5 Principal: None

PSK identity: None

PSK identity hint: None

TLS session ticket lifetime hint: 3600 (seconds)

TLS session ticket:

0000 – cf 8d 5b dc fa a4 ad b3-51 c7 2f 60 7e dc 91 75 ..[…..Q./`~..u

0010 – 6a ad 43 d2 3e 86 24 51-f6 79 ef 38 e4 05 53 8f j.C.>.$Q.y.8..S.

0020 – f8 86 62 51 de 1f 79 af-f0 9b a4 bc 0d 0f a9 88 ..bQ..y………

0030 – 5c 78 15 25 1f 04 8a eb-a7 e5 20 82 2e cd f8 b8 x.%…… …..

0040 – 1f 15 9a dd c8 2d 73 b5-bb ab d0 fa e4 06 d9 49 …..-s……..I

0050 – be 15 6f cf 7f 65 e1 1c-39 e6 11 30 ca a8 34 60 ..o..e..9..0..4`

0060 – d4 57 b7 d5 79 70 d9 c6-89 eb 98 9e e0 76 7e d6 .W..yp…….v~.

0070 – f3 6c 93 12 e9 21 7d b9-2c 2a 99 d9 16 2d 1f 7b .l…!}.,*…-.{

0080 – ce 9d 32 3f 7b 49 fb ba-87 8a a1 17 30 44 1f 43 ..2?{I……0D.C

0090 – 51 eb af 93 fa 3f d8 04-62 e0 8e ae d6 a2 07 ab Q….?..b…….

Start Time: 1498249261
Timeout : 300 (sec)
Verify return code: 0 (ok)

250 DSN

#headhache

§

§

1 Звезда2 Звезды3 Звезды4 Звезды5 Звезд (1 оценок, среднее: 4,00 из 5)
Загрузка...

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Adblock
detector