docker compose -f /opt/mailcow-dockerized/docker-compose.yml exec postfix-mailcow postconf transport_maps

Category: Mail Servers & Postfix

docker compose -f /opt/mailcow-dockerized/docker-compose.yml exec postfix-mailcow postconf transport_maps

Show the transport map source Postfix uses

postconf transport_maps resolves the parameter and prints the actual map definition, which in Mailcow points at the SQL maps under /opt/postfix/conf/sql. Those SQL maps let Postfix query MySQL for transports instead of static files. Same trick works for virtual_alias_maps and virtual_mailbox_maps.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.