- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 67
Closed
Labels
Description
I have the following poll.sh script:
#! /bin/bash
if ! ping -w 1 -W 1 -c 1 mail.google.com; then
  echo "No internet connection"
  exit
fi
echo "Running imapfilter"
/usr/bin/imapfilter
echo "Retrieving mail"
/usr/bin/offlineimap
notmuch new
notmuch tag --batch <<EOF
  +work +inbox tag:new and folder:work/inbox
  +work -inbox +github tag:new and folder:work/github
  +personal +inbox tag:new and folder:personal/inbox
EOF
After I read a thread/message, pressing a shows the inbox tag as removed; but on the next poll, the messages shows up again in the inbox as new, inbox. So far, I haven't modified astroid's views, so I'm just using the default functionality (the only mod is the poll script).
Any ideas what's going on?