|
@@ -240,13 +240,13 @@ finalize() { echo "$mailboxes" | xargs -I {} mkdir -p "$maildir/$fulladdr/{}/cur |
|
|
toappend="mailboxes $(echo "$mailboxes" | sed "s/^/\"=/;s/$/\"/" | paste -sd ' ' )" |
|
|
toappend="mailboxes $(echo "$mailboxes" | sed "s/^/\"=/;s/$/\"/" | paste -sd ' ' )" |
|
|
for x in $mailboxes; do |
|
|
for x in $mailboxes; do |
|
|
case $x in |
|
|
case $x in |
|
|
*[Ii][Nn][Bb][Oo][Xx]*) formatShortcut i inbox "$x"; setBox spoolfile "$x" ;; |
|
|
|
|
|
*[Ss][Ee][Nn][Tt]*) setBox record "$x"; formatShortcut s sent "$x" ;; |
|
|
*[Ss][Ee][Nn][Tt]*) setBox record "$x"; formatShortcut s sent "$x" ;; |
|
|
*[Dd][Rr][Aa][Ff][Tt][Ss]*) setBox postponed "$x"; formatShortcut d drafts "$x" ;; |
|
|
*[Dd][Rr][Aa][Ff][Tt][Ss]*) setBox postponed "$x"; formatShortcut d drafts "$x" ;; |
|
|
*[Tt][Rr][Aa][Ss][Hh]*) formatShortcut t trash "$x"; setBox trash "$x" ;; |
|
|
*[Tt][Rr][Aa][Ss][Hh]*) formatShortcut t trash "$x"; setBox trash "$x" ;; |
|
|
*[Jj][Uu][Nn][Kk]*) formatShortcut j junk "$x" ;; |
|
|
*[Jj][Uu][Nn][Kk]*) formatShortcut j junk "$x" ;; |
|
|
*[Aa][Rr][Cc][Hh][Ii][Vv][Ee]*) formatShortcut a archive "$x" ;; |
|
|
*[Aa][Rr][Cc][Hh][Ii][Vv][Ee]*) formatShortcut a archive "$x" ;; |
|
|
*[Ss][Pp][Aa][Mm]*) formatShortcut S spam "$x" ;; |
|
|
*[Ss][Pp][Aa][Mm]*) formatShortcut S spam "$x" ;; |
|
|
|
|
|
*[Ii][Nn][Bb][Oo][Xx]*) formatShortcut i inbox "$x"; setBox spoolfile "$x" ;; |
|
|
esac |
|
|
esac |
|
|
done |
|
|
done |
|
|
echo "$toappend" >> "$accdir/$idnum-$fulladdr.muttrc" |
|
|
echo "$toappend" >> "$accdir/$idnum-$fulladdr.muttrc" |
|
|