Explorar el Código

no longer flatten mailboxes at all, fix #648

tags/3.2.1
Luke Smith hace 3 años
padre
commit
a95ff5a471
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4C50B54A911F6252
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. +1
    -2
      bin/mw

+ 1
- 2
bin/mw Ver fichero

@@ -62,7 +62,6 @@ MaildirStore $fulladdr-local
Subfolders Verbatim
Path ${XDG_DATA_HOME:-$HOME/.local/share}/mail/$fulladdr/
Inbox ${XDG_DATA_HOME:-$HOME/.local/share}/mail/$fulladdr/${inbox:-INBOX}
Flatten _

Channel $fulladdr
Expunge Both
@@ -231,7 +230,7 @@ getboxes() { if [ -n "${force+x}" ]; then
else
info="$(curl --location-trusted -s -m 5 --user "$login:$(pass $fulladdr)" --url "${protocol:-imaps}://$imap:${iport:-993}")"
[ -z "$info" ] && echo "Log-on not successful." && return 1
mailboxes="$(echo "$info" | sed "s/.*\" //;s/\"//g" | tr -d ' ')"
mailboxes="$(echo "$info" | grep -v HasChildren | sed "s/.*\" //;s/\"//g" | tr -d ' ')"
fi
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 ' ' - )"


Cargando…
Cancelar
Guardar