Update 2023-11-23 13:23 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2023-11-23 13:23:56 +01:00
parent d4c83cd571
commit 51276df8be
19 changed files with 216 additions and 120 deletions

View File

@@ -9,15 +9,19 @@
# [ -z "$SEL" ] || texec $SEL
. $HOME/.bin/_config
MAILBOXES=$(cd ~/.emails && find Mailboxes/*/ \
-mindepth 1 -maxdepth 1 -type d \
-not -path "*/tmp*" \
-not -path "*/cur*" \
-not -path "*/new*")
# MAILBOXES=$(cd ~/.emails && find Mailboxes/*/ \
# -mindepth 1 -maxdepth 1 -type d \
# -not -path "*/tmp*" \
# -not -path "*/cur*" \
# -not -path "*/new*")
MAILBOXES="$(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 | dos2unix)"
HOST="imaps://mail.codevoid.de"
SEL=$(echo "$MAILBOXES" | $DMENU_CMD -p Mutt)
SEL=$(echo "$MAILBOXES" | $DMENU_CMD -l 12 -p Mailbox)
[ -z "$SEL" ] || texec "mutt -F $HOME/.mutt/rc-account-private -f $HOST/$SEL"