postmap -q looks up one key in a map file, here asking the virtual_alias_maps SQL map where mail to user@example.com is redirected. It runs the same SQL query Postfix would run, so it proves the map and database connection work. Use it before blaming aliases for a delivery problem.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.