smtp/include/41-virtual.cf
2023-05-02 17:16:10 +10:00

17 lines
846 B
CFEngine3

#virtual_alias_domains = @VIRTUAL_ALIAS_DOMAINS@
##virtual_alias_domains = lmdb:/etc/postfix/custom/virtual_alias_domains
## ldap:/etc/postfix/custom/ldap_virtual_mailbox_domains
virtual_alias_maps = lmdb:/etc/postfix/custom/virtual_alias_maps
ldap:/etc/postfix/custom/ldap_virtual_alias_maps
virtual_mailbox_base = /var/mail/vhosts
#virtual_mailbox_domains = @VIRTUAL_DOMAINS@
## @note virtual_mailbox_domains cannot be a map, so the below two definitions *WONT* work
##virtual_mailbox_domains = lmdb:/etc/postfix/custom/virtual_mailbox_domains
## ldap:/etc/postfix/custom/ldap_virtual_mailbox_domains
virtual_mailbox_maps = lmdb:/etc/postfix/custom/virtual_mailbox_maps
ldap:/etc/postfix/custom/ldap_virtual_mailbox_maps
#virtual_transport = virtual
virtual_minimum_uid = 100
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000