Offlineimap -- push changes to all folders; only pull from INBOX folder
- by g33kz0r
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.