These 12volt or 24volt motors are ubiquitous on AliExpress and DealExtreme. The only mounting holes they have are in the face end, which means they need some kind of bracket to hold them.
This bracket uses M3 screws to hold the motor and M4 to hold the bracket.
All measurements are customisable in the SCAD file.
I suggest wall thickness of 1.6mm.