summaryrefslogtreecommitdiff
path: root/templates/virtual/database/mysql_virtual_mailbox_maps.cf.erb
blob: c90938ffac6b7f777e33b607cf70cb2c1ca89c05 (plain)
1
2
3
4
5
6
user      = <%= scope.lookupvar('mail::virtual::database_user') %>
password  = <%= scope.lookupvar('mail::virtual::database_password') %>
hosts     = <%= scope.lookupvar('mail::virtual::database_host') %>
dbname    = <%= scope.lookupvar('mail::virtual::database_name') %>
query     = SELECT maildir FROM mailbox WHERE username='%s' AND active = '1'
#expansion_limit = 100