mutt workflow and mail filtering

benfitzg at gmail.com benfitzg at gmail.com
Mon May 6 03:12:07 UTC 2019


Hi,

this isn't a mutt question but I figured I'd try here after a lot of fruitless
searching.

I moved to using offlineimap to sync my gmail to a local Maildir format, then I
point mutt at the local filesystem.

This has greatly improved my mutt experience. Loading large folders is far
snappier.

I'm not that enamoured with gmail filtering, and I'd like to be able to control
filtering at the Maildir level, then have offlineimap sync the changes back up
to the server side.

So a typical example might be, assuming I have no gmail filters setup and
everything is dumped into my INBOX.

- mutt mailing list email arrives at gmail into INBOX
- offlineimap pulls this down to my local $Maildir/INBOX/new
- post-sync hook runs and moves the email to $Maildir/Mutt/new
- offlineimap syncs back up on the server side, deleting from INBOX and writing to Mutt

I've used gmail as an example here but I'm also looking to implement a similar
solution at work where I have to use Microsoft Exchange server, which has a really
terrible rules interface.

Regards,

-- 
Ben Fitzgerald


More information about the Mutt-users mailing list