summaryrefslogtreecommitdiffstats
path: root/.bin/nmutt
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-01-02 21:07:04 +0100
committerRomain Gonçalves <me@rgoncalves.se>2022-01-02 21:07:04 +0100
commita3d041d259756dc609b40e5244965fb36b05b8a3 (patch)
tree8f0890cf1dc48ef35ca6d0d5e572c2325aa09288 /.bin/nmutt
parent0f08d04698c814955116b6bae50752e64b774d8f (diff)
downloaddots-a3d041d259756dc609b40e5244965fb36b05b8a3.tar.gz
Sun Jan 2 09:07:04 PM CET 2022
Diffstat (limited to '.bin/nmutt')
-rwxr-xr-x.bin/nmutt7
1 files changed, 5 insertions, 2 deletions
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 ${@}
remember that computers suck.