If i run script on my pc i got: Notice: Unknown: Server disables LOGIN, no recognized SASL authenticator (errflg=2) in Unknown on line 0
if i run the same script on server(on which dovecot is running) - everything works fine
on server:
self-signed cert
CRAM-md5 auth only