Offlineimap -- push changes to all folders; only pull from INBOX folder
Posted
by
g33kz0r
on Super User
See other posts from Super User
or by g33kz0r
Published on 2012-09-20T18:28:35Z
Indexed on
2012/09/21
21:43 UTC
Read the original article
Hit count: 236
I would like to be able to set up offlineimap to do the following
- Sync Remote/INBOX -> Local
- Sync Local/Maildirs/* -> Remote
Possible?
The use case here is:
- I download all new mail from my remote IMAP INBOX folder with offlineimap.
- offlineimap's
posthook
command calls a custom python script which does junk filtering, then sorts and categorizes my mail in the local INBOX folder to various local maildirs based on sender, etc. - I read my mail with mutt and perhaps do some more categorization.
- ?
Step 4 is what I'm after. I want offlineimap to push my local changes (categorization, filtering, deletion in the case of spam) back to the various folders on the imap server, but as you can see, there's no need for me to be pulling any changes from folders other than Remote/INBOX, as no changes happen on the IMAP server itself. I hope that's a clear explanation of the problem.
© Super User or respective owner