Skip to content

Archiving message isn't working as intended #396

@manishrjain

Description

@manishrjain

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions