ok solved my problem by adding master user on backend and self-signed ssl certs on proxy instance: default_fields = proxy=y host=imap.myserver.lan port=993 ssl=yes master=masteruser pass=masterpass