I have to copy a mail account's incoming and sent mails to another mail account on the same server as well. How can I do this?
The server is a debian wheezy running dovecot, roundcube and postfix. As I said the email isn't just an alias but an existing mailbox. The copying of the incoming mails can easily done with a sieve file in the user's profile:
01_forward.sieve
require ["fileinto"];
fileinto "Inbox";
redirect "user2@mail.com";
But as for getting a copy of every sent letters forwarded to user2@mail.com as well. I have no idea how to solve this.