Fixed starttls=auto. Now it behaves the same as with smtp and xmpp.