From a3d041d259756dc609b40e5244965fb36b05b8a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sun, 2 Jan 2022 21:07:04 +0100 Subject: Sun Jan 2 09:07:04 PM CET 2022 --- .bin/nmutt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.bin/nmutt') diff --git a/.bin/nmutt b/.bin/nmutt index 9a2bb28..8abd47d 100755 --- a/.bin/nmutt +++ b/.bin/nmutt @@ -11,9 +11,12 @@ get_param() { tr -d '"' } -# export server/username for get-mailbox-imap script export MAIL_SERVER=$(get_param "${NMUTT_CONFIGURATION_FILE}" "my_server") export MAIL_USERNAME=$(get_param "${NMUTT_CONFIGURATION_FILE}" "my_user") - export MAIL_PASSWORD=$(get-pass "mailbox") + +# get-mailbox-imap imap.${MAIL_SERVER} ${MAIL_USERNAME}@${MAIL_SERVER} ${MAIL_PASSWORD} +# offlineimap --dry-run +# mbsync -a + exec neomutt ${@} -- cgit v1.2.3