You fine tune the level by inserting.
Gap between door frame and brick wall.
There should then be wall sarking against the timber frame to stop moisture and insulation within the timber frame behind the wall sarking.
There are regular weep holes for instance at the bottom of the wall that must be left open.
So the key here is to not seal up the brick too tightly.
Try to keep water off of it.
Good quality materials like seasoned teak wood cement aggregate bricks should be selected.
Prevention of cracks between masonry wall and door frame joints.
Which is best for a gap between a garage door wood frame brick wall silicone sealant or expanding foam.
Don t know if the photos do it justice.
Replace wood trim where appropriate.
Building code states there must be minimum 25mm gap between brick and frame for ventilation.
The gap around a door frame is a structural necessity it allows you to fine tune the jamb level and acts as a buffer between the jamb and wall framing.
The gap on one side is pretty much 5mm top to bottom and pretty similar on the other side.