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: Abs (abs/tcs) hu/cm removal/installation
Caution
When replacing the ABS (ABS/TCS) HU/CM, configuration procedure
must be done before removing the ABS (ABS/TCS) HU/CM. If configuration is
not completed before removing the ABS (ABS/TCS) HU/CM, TCS will not work
properly (with TCS model).
Do not drop the ABS (ABS/TCS) HU/CM. Re ...
Mazda 6 Service Manual: Dtc c1148, c1158, c1168, c1178, c1233, c1234, c1235, c1236
Caution
When attaching the tester lead to the ABS (ABS/TCS) HU/CM harness
connector, the SST (49 G066 001) must be used. (See ABS (ABS/TCS) HU/CM
INSPECTION.)
Diagnostic procedure
...