Re: help with use case...

Subject: Re: help with use case...

Date: Wed, 25 Jun 2025 08:58:47 +0200

To: Marko Schuetz-Schmuck, notmuch@notmuchmail.org

Cc:

From: Alan Schmitt


Hello Marko,

On 2025-06-24 10:54, Marko Schuetz-Schmuck <MarkoSchuetz@web.de> writes:

> I know of afew and that it has a move mode, but haven't used it
> before.

I use afew in a very similar setup. In my case the mail is only kept
locally in a maildir folder. Here is the relevant part of my afew
configuration.

  [MailMover]
  folders = /work/ /o2switch/ /zaclys/
  rename = True
  /work/ = 'date:.."1000days" AND NOT tag:deleted':local/.archive
  /o2switch/ = 'date:.."1000days" AND NOT tag:deleted AND NOT folder:o2switch/DeltaChat':local/.archive
  /zaclys/ = 'date:.."1000days" AND NOT tag:deleted AND NOT folder:zaclys/DeltaChat':local/.archive

The idea is that mail that is not tagged deleted and that is older than
1000 days should be moved to my local archive, unless the mail is from a
DeltaChat conversation.

I run this once a day with the command

  afew --move-mails -vv

I then run `mbsync -a' to send the changes to the server.

Hope this helps,

Alan
signature.asc (application/pgp-signature)
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: