Quellcode durchsuchen

allow dynamically loading available mailboxes

this way if a folder is added or deleted in the remote
location, and gets deleted after sync, it is reflected
in the next opening

Signed-off-by: Aisha Tammy <floss@bsd.ac>
tags/v3.3
Aisha Tammy vor 3 Jahren
Ursprung
Commit
2cb2fa0345
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden GPG-Schlüssel-ID: C0E2E5A5205E152E
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      bin/mw

+ 1
- 1
bin/mw Datei anzeigen

@@ -227,7 +227,7 @@ getboxes() { if [ -n "${force+x}" ] ; then
fi
[ "$type" = "pop" ] && mailboxes="INBOX"
getaccounts; for x in $(seq 1 9); do echo "$accounts" | grep -q "^$x:" || { export idnum="$x"; break ;}; done
toappend="mailboxes $(echo "$mailboxes" | sed "s/^/\"=/;s/$/\"/" | paste -sd ' ' - )"
toappend="mailboxes \`mdir=$maildir/$fulladdr/; find \$mdir -type d -name cur | sort | sed -e 's:/cur\$:\":' -e \"s:\$mdir:\\\"=:\" | tr '\\\n' ' '\`"
for x in $mailboxes; do
case "$x" in
*[Ss][Ee][Nn][Tt]*) setBox record "$x"; formatShortcut s sent "$x" ;;


Laden…
Abbrechen
Speichern