I have a text frame with several columns and I would like to add vertical lines between them. Is there some automatic way how to do that, or I have to do it manually?
Sadly, no. You have to draw the lines.
You can use the "align and distribute" dialog to place them in the middle.
And holding down the CTRL button while drawing a line helps you creating a vertical line.
On the other side, those lines mostly do not look that nice... (your screenshot is probably only a sample, but it shows well what could go wrong) and there are often better ways for making pretty columns.