In GMail, there is a setting for that in POP access but I don't see anything regarding IMAP, only on delete and it is non-configurable.
Some of my gmail messages are being archived (removed from my inbox but not being deleted) when Kmail checks my gmail account. This only happens when Kmail does it's check, and none of the emails that are being archived are showing up because they aren't in any of my IMAP folders.
I know the archived messages are still there because I can log into gmail's web interface, go to my "All Mail" list, and see the archived messages. When I move them back to my inbox, they will stay there so long as Kmail isn't checking for email.
There is no setting in gmail's settings (either Kmail or the web interface) to do this, nor do they offer any filters that would do this (or at least, I don't have any such filters active in my gmail).
I have checked my IMAP settings in Kmail and gmail web interface. I cannot find any settings that would exhibit this behavior. I do include my inbox (and all the other IMAP folders) in both my serverside and local subscription.
The last detail I can offer is that I'm using cachedimap instead of regular imap.
Is there anything outside of my gmail/IMAP settings that could be causing this?
--
Kristopher Gamrat
Ark Linux webmaster
http://www.arklinux.org/