I'm trying to set up an archive system whereby the "messages" table in the Roundcube database is duplicated, with every insert into the table being mirrored by an insert into a "message_archive" table that is the exact same as the "messages" table.
Where do I find the commands that build the SQL that roundcube uses to insert a new message into the DB, delete a message when deleted from trash, etc.?
tx,
Chris