1. Measure the gap and height between the front or rear door and the body.
2. If not as specified, loosen the front or rear door hinge installation bolts or the door lock striker installation screws, and reposition the door.
Clearance
a: 2.5-4.5 mm {0.10-0.18 in} b: -0.8-1.2 mm {-0.03-0.05 in} c: -0.3-1.7 mm {-0.01-0.07 in} d: -1.0-1.0 mm {-0.04-0.04 in} e: -0.5-1.5 mm {-0.02-0.06 in}

3. Tighten the bolts or screws.
Rear door removal/installation
Front door glass removal/installationMazda 6 Service Manual: Curtain Air Bags
The curtain air bags are mounted in the front and rear window pillars, and the
roof edge along both sides.
When the air bag crash sensors detect a side impact of greater than moderate
force, the curtain air bag inflates quickly and helps to reduce injury mainly to
the rear outboard passenger' ...
Mazda 6 Service Manual: i-ACTIVSENSE (Some models)
i-ACTIVSENSE is a collective term covering a series of advanced safety and driver
support systems which make use of a Forward Sensing Camera (FSC) and radar sensors.
These systems consist of active safety and pre-crash safety systems.
These systems are designed to assist the driver in safer dri ...