You could make that by running the board (i.e. 4x4 post) over a table saw but not setting the blade height too high, just high enough to cut that groove partially into each side. Once you make that cut, move board over slightly about 2-3 mm and make the same cut parallel to the first one, do that about about 8 times or so and the result is that cuts make a groove or channel along the side of the board.