How to forward emails automatically?

Ok. Thanks! That means I have to configure Dovecot for my use case? How can I do that?