This website requires JavaScript.
Explore
Help
Sign In
Marty
/
dotfiles
Watch
1
Star
0
Fork
You've already forked dotfiles
0
Code
Issues
3
Pull requests
Projects
Releases
Wiki
Activity
27cbf30da0
dotfiles
/
mail
/
.config
/
sh
/
alias.d
/
mbsync-xdg.sh
4 lines
85 B
Bash
Raw
Normal View
History
Unescape
Escape
mail: Initial commit
2020-09-14 08:47:02 +00:00
#!/bin/sh
mail: Add checkmail routine Added script to call for checking mail. Will run individual pre- and post-hooks. (By default, imapfilter and notmuch update.) Simple options can be changed through environment variables: Hooks can be set to different scripts with MBSYNC_PRE and MBSYNC_POST, respectively. Will also run mbsync repeatedly, until it exits without error. By default it will try running it 3 times before giving up, this can be set with MBSYNC_MAX_TRIES. No functional imapfilters have been added yet. mbsync and imapfilter both adhere to the XDG base directory layout (somewhat), checking for their option files in .config/{isync,imapfilter} respectively. Everything still pending changes, the mail eco-system is hard to wrap one's head around.
2020-09-16 16:49:08 +00:00
alias
mbsync
=
'mbsync -c ${XDG_CONFIG_HOME:-$HOME/.config}/isync/mbsyncrc'
Reference in a new issue
Copy permalink