#!/bin/sh

print "t1 login sdk $(pass Internet/mail.codevoid.de | head -1)\nt1 list \"\" \"*\"\nt1 logout" \
    | openssl s_client -quiet -connect mail.codevoid.de:993 -crlf - 2>/dev/null \
    | grep "^\* LIST" | awk '{ print $NF }' | sort

