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: Illuminated Entry System
When the illuminated entry system operates, the overhead lights, the courtesy
lights, and an ambient light* turn on in the following conditions:
The driver's door is unlocked after the ignition is switched OFF.
The ignition is switched OFF with all doors closed.
NOTE
(Overhead lights) ...
Mazda 6 Service Manual: Audio Operation Using Voice Recognition
Voice command
When the talk button is pressed and the following command is spoken, the audio
or navigation can be operated. The commands in the () can be omitted. The specified
name and number are put into the {}.
Standard command
Communication (phone) related command
Entertainment (audi ...