deflomu / Roundcube-SMTP-per-Identity-Plugin

Roundcube plugin to setup different SMTP settings per identity
MIT License
43 stars 19 forks source link

Plugin not working with RC 1.2.0 #14

Closed Gr4ffy closed 8 years ago

Gr4ffy commented 8 years ago

After update RC from 1.1.5 to 1.2.0 "identity_smtp" isn't working anymore.

Gmail [smtp_server] tls://smtp.gmail.com / [smtp_port] 587

[01-Jun-2016 14:24:01 Europe/Sarajevo] ERROR: Invalid response code received from server (530) [01-Jun-2016 14:24:01 +0200]: <8h1fhefj> SMTP Error: Failed to set sender 'xxx@gmail.com'. 5.7.0 Must issue a STARTTLS command first. 75sm22678156wml.15 - gsmtp (Code: 530) in /volume1/@appstore/MailStation/roundcubemail/program/lib/Roundcube/rcube.php on line 1595 (POST /?_task=mail&_unlock=loading1464783841058&_lang=pl&_framed=1&_action=send)

Onet [smtp_server] ssl://smtp.poczta.onet.pl / [smtp_port] 465

[01-Jun-2016 14:24:38 Europe/Sarajevo] ERROR: Invalid response code received from server (454) [01-Jun-2016 14:24:38 +0200]: <8h1fhefj> SMTP Error: Failed to add recipient 'xxx@yyy.pl'. 4.7.1 <xxx@yyy.pl>: Relay access denied (Code: 454) in /volume1/@appstore/MailStation/roundcubemail/program/lib/Roundcube/rcube.php on line 1595 (POST /?_task=mail&_unlock=loading1464783878426&_lang=pl&_framed=1&_action=send)

deflomu commented 8 years ago

Hmm, it is working for me with gmail. My settings are exactly the same (server tls://smtp.gmail.com and port 587.

From my short research this error can occur if openssl is missing (not very likely) or if the username and/or password are missing. Maybe roundcube changed the way the preferences are stored or the encryption works. Can you try to setup a new identity and check if this works?

Gr4ffy commented 8 years ago

Yep, this is it :) First I made a test identity for onet.pl and it works, next I deleted a "test identity" and I updated password in my previously stored identity. It works fine now.