Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nano /etc/postfix/mysql-virtual_domains.cf
- hosts = localhost
- user = postfix
- password = postfix001
- dbname = postfix
- table = domains
- select_field = 'virtual'
- where_field = domain
- nano /etc/postfix/mysql-virtual_forwardings.cf
- hosts = localhost
- user = postfix
- password = postfix001
- dbname = postfix
- table = forwardings
- select_field = destination
- where_field = email
- nano /etc/postfix/mysql-virtual_mailboxes.cf
- hosts = localhost
- user = postfix
- password = postfix001
- dbname = postfix
- table = users
- select_field = CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/')
- where_field = email
- nano /etc/postfix/mysql-virtual_email2email.cf
- hosts = localhost
- user = postfix
- password = postfix001
- dbname = postfix
- table = users
- select_field = email
- where_field = email
- nano /etc/postfix/mysql-virtual_transports.cf
- hosts = localhost
- user = postfix
- password = postfix001
- dbname = postfix
- table = transport
- select_field = transport
- where_field = domain
- nano /etc/postfix/mysql-virtual_mailbox_limit_maps.cf
- hosts = localhost
- user = postfix
- password = postfix001
- dbname = postfix
- table = users
- select_field = quota
- where_field = email
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement