Skip to content

Commit

Permalink
fix issue 6: mailboxes command produces error Unknown Mailbox
Browse files Browse the repository at this point in the history
  • Loading branch information
rpuntaie committed Mar 17, 2020
1 parent bdaf0f1 commit 89f8ae6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ DETAILS
**Mail location**

Mail is downloaded to a folders named after your emails in *$MAILDIR*.
*$MAILDIR* defaults to *$HOME/Mail/*.
*$MAILDIR* defaults to *$HOME/mail/*.
Neither **mw remove** nor **mw purge** will delete downloaded mail.

**Gmail accounts**
Expand Down
5 changes: 2 additions & 3 deletions bin/mw
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

VERSION="2.0.1"
VERSION="2.0.2"

if [ "${BASH_SOURCE[0]}" = "${0}" ]; then
prefix=${0}
Expand Down Expand Up @@ -545,15 +545,14 @@ set smtp_url = "$mwsmtp://$mwlogin@$mwsurl:$mwsport"
EOF
fi #online
mwboxes="$(echo "$mwmailboxes" | sed -e "s/^ //g;s/.*/\"=\0\"/g" | tr "\n" " ")"
mwaccmutt="${mwaddr//[.@]/_}"
cat >> "$mwaccmuttrc" <<EOF
set spoolfile = "$mwspoolfile"
set record = "$mwrecord"
set postponed = "$mwpostponed"
set trash = "$mwtrash"
unmailboxes *
mailboxes =$mwaccmutt ===================== $mwboxes
mailboxes $mwboxes
macro index,pager i$mwidnum '$mwmuttsync' "switch to $mwaddr"
Expand Down
2 changes: 2 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
History (newest first)

20200317 fixed "mailboxes" line

Generate man page from readme, to avoid duplicate descriptions.
Readme in rst instead of md.
Separate changelog.txt.
Expand Down

0 comments on commit 89f8ae6

Please sign in to comment.