diff options
author | pks <pks@pks.rocks> | 2020-11-10 12:19:53 +0100 |
---|---|---|
committer | pks <pks@pks.rocks> | 2020-11-10 12:19:53 +0100 |
commit | c86d4d52c9fe0cd877a6fee27284ce8f635789c8 (patch) | |
tree | 4ce7f6e0109aa7b89ca81b55fd0fd7e20f474303 /sync-mail | |
parent | 0a28deadbfe4de2e756383b486fe9117d92b907f (diff) |
sync-mail: no secondary
Diffstat (limited to 'sync-mail')
-rwxr-xr-x | sync-mail | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -7,14 +7,16 @@ if [[ $(uname) == "Linux" ]]; then export PATH=/home/$(whoami)/.local/bin:$PATH fi -$(which imapfilter) -c $HOME/.imapfilter/primary.lua 2>/dev/null - -case `date +"%a"` in +case `date +"%a"` in Sat|Sun) + $(which imapfilter) -c $HOME/.imapfilter/primary.lua 2>/dev/null $(which mbsync) -q primary ;; *) - $(which mbsync) -q -a + $(which imapfilter) -c $HOME/.imapfilter/primary.lua 2>/dev/null + $(which mbsync) -q primary + #$(which imapfilter) -c $HOME/.imapfilter/secondary.lua 2>/dev/null + #$(which mbsync) -q secondary ;; esac |