Quick question on accessing user mail stores using sqlite:
Would there be any side-effects to doing things like deleting messages or moving them between folders by using sqlite statements in scripts?
Example, this sqlite statement moves a message from one folder to another:
UPDATE messages SET parent_fid = XX WHERE message_id = YY
Running this against a test copy of a server does seem to have the effect you would expect: using Web GUI you can see the message in its original folder before the command is run, then hit refresh and it has moved to the desired folder.
Are there any gotchas we need to look out for like information being cached in other places apart from sqlite etc etc?