mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
e467af14e1
Modify the default query for $transport_maps to exclude all entries which have the transport set to 'virtual'. Postfixadmin sets the transport for domains to 'virtual' by default, which is a rather unfortunate choice when enabling transport_maps, as it will direct postfix to use the 'virtual' transport as defined in master.cf, which most likely is not what the user intended. The user most likely still wants emails being delivered to virtual mailboxes, via the transport defined per $virtual_transport. $virtual_transport however is only a fallback, which applies if $transport_maps is either undefined or the table lookup it refers to fails. Hence excluding domains where transport is set to 'virtual', which by default and therewith in most cases probably means all domains ever created by postfixadmin. This results in the query returning no results, leading to postfix falling back to the transport defined in $virtual_transport. |
||
---|---|---|
.. | ||
screenshots | ||
BACKUP_MX.txt | ||
DOVECOT.txt | ||
FAQ.txt | ||
HASHING.md | ||
HORDE.txt | ||
LANGUAGE.txt | ||
Migration.md | ||
Password_Expiration.md | ||
POSTFIX_CONF.txt | ||
Postfix-Dovecot-Postgresql-Example.md | ||
POSTFIXADMIN.txt | ||
SECURITY.txt | ||
SUPERADMIN.txt | ||
UPGRADE.txt |