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: Foreword
When the customer reports a vehicle malfunction, check the malfunction
indicator lamp (MIL) indication and diagnostic trouble code (DTC), then
diagnose the malfunction according to following flowchart.
- If a DTC exists, diagnose the applicable DTC inspection. (See DTC
TABLE.)
- ...
Mazda 6 Service Manual: Cruise actuator removal/installation
1. Disconnect the negative battery cable.
2. Remove in the order indicated in the table.
3. Install in the reverse order of removal.
Cover Removal Note
Unclamp the clips of the heater hoses at the front of the cover.
...