Site update
This commit is contained in:
parent
ad69964e08
commit
d0a1fb7228
16 changed files with 935 additions and 12 deletions
|
@ -1,6 +1,7 @@
|
|||
+++
|
||||
title = 'Virgin (Neo)Mutt User Meet Mblaze'
|
||||
date = 2023-10-24T18:13:18+02:00
|
||||
tags = [ 'linux', 'mail', 'mblaze' ]
|
||||
draft = false
|
||||
+++
|
||||
|
||||
|
@ -173,7 +174,7 @@ The script is able to print the current profile when run without argument, listi
|
|||
# mblaze functions
|
||||
|
||||
# Get new mail for current profile
|
||||
mnew () {
|
||||
function mnew () {
|
||||
maildir=$(grep "^Maildir:" $HOME/.mblaze/profile | cut -d: -f 2 | sed 's/ //g')
|
||||
profile=$(basename $maildir)
|
||||
if [ "$profile" = "local" ]; then
|
||||
|
@ -181,11 +182,12 @@ mnew () {
|
|||
else
|
||||
mbsync -V $profile
|
||||
mlist -s "$maildir"/INBOX | msort -dr | mseq -S
|
||||
minc "$maildir/INBOX" > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
# Get full mail for current profile including threads
|
||||
mall () {
|
||||
function mall () {
|
||||
maildir=$(grep "^Maildir:" $HOME/.mblaze/profile | cut -d: -f 2 | sed 's/ //g')
|
||||
sent=$(grep "^Outbox:" $HOME/.mblaze/profile | cut -d: -f 2 | sed 's/ //g')
|
||||
profile=$(basename $maildir)
|
||||
|
@ -194,6 +196,7 @@ mall () {
|
|||
else
|
||||
mbsync -V $profile
|
||||
mlist "$maildir"/INBOX | mthread -r -S "$sent" | mseq -S
|
||||
minc "$maildir/INBOX" > /dev/null
|
||||
fi
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue