dotfiles/.bin/OLD/imap-listmailboxes
2024-02-14 07:55:58 +01:00

7 lines
243 B
Bash
Executable File

#!/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