So when I log into roundcube I notice that my sent messages are getting deleted. What service deletes them? Is it a default configuration in dovecot or does roundcube do this? How can I stop sent messages from deleted. Any help would be appreciated. I could not solve this on my own.
Maybe it is your email client that is not copying the messages to the folder that you expect.
Thank you for a response jlguerrero. That is not it because dovecot i.e. the server that store the mail has all the sent mail as does the client.