nsbin/hole_mails

34 lines
550 B
Text
Raw Normal View History

2006-07-20 07:54:37 +00:00
#!/bin/sh
# Tue Jul 18 15:13:45 CEST 2017
2020-07-23 13:37:52 +00:00
echo "Start: $(date)" >> ~/maillog
2017-07-21 14:58:47 +00:00
securemail
2020-07-23 13:37:52 +00:00
echo "mbsync: $(date)" >> ~/maillog
2020-07-06 20:51:15 +00:00
mbsync -a -q
2020-07-23 13:37:52 +00:00
echo "done: $(date)" >> ~/maillog
2017-07-21 14:58:47 +00:00
#fetchmail
# Disabled by Mon Jun 20 10:56:19 CEST 2016 -- using mu now
# notmuch new
# offlineimap
# notmuch new
exit 0
cd ~/Maildir
git add .
git commit --quiet -m "Update from $(hostname) $(date +%F-%H:%M)"
#git fetch --quiet origin
git fetch origin
git merge -m "Merge from VM" origin/from-vm
git push --quiet origin master:from-notebook
notmuch new --quiet
exit 0