2016-03-07 17:31:28 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-10-29 07:08:43 +01:00
|
|
|
# Without this pinentry-gtk does not get triggered to ask for GPG password.
|
2021-02-11 09:46:19 +01:00
|
|
|
export DISPLAY=:0
|
|
|
|
|
2024-10-29 07:08:43 +01:00
|
|
|
imapfilter
|
2016-03-07 17:31:28 +01:00
|
|
|
|
2024-10-29 07:08:43 +01:00
|
|
|
if [ -d "$HOME/Mail/sanchayan-net" ]; then
|
|
|
|
mbsync sanchayan-net
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -d "$HOME/Mail/sanchayan-com" ]; then
|
|
|
|
mbsync sanchayan-com
|
|
|
|
fi
|
|
|
|
|
2021-02-11 09:46:19 +01:00
|
|
|
if [ -d "$HOME/Mail/fastmail" ]; then
|
|
|
|
mbsync fastmail
|
|
|
|
fi
|
2016-03-07 17:31:28 +01:00
|
|
|
|
2021-02-11 09:46:19 +01:00
|
|
|
if [ -d "$HOME/Mail/sanchayan" ]; then
|
|
|
|
mbsync gmail
|
2016-03-07 17:31:28 +01:00
|
|
|
fi
|
2019-12-31 09:48:38 +01:00
|
|
|
|
2021-02-11 09:46:19 +01:00
|
|
|
if [ -d "$HOME/Mail/asymptotic" ]; then
|
|
|
|
mbsync asymptotic
|
2020-01-06 08:05:17 +01:00
|
|
|
fi
|