summaryrefslogtreecommitdiff
path: root/templates/postfix/sql/mysql-virtual-mailbox-limit-maps.cf.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-08-04 22:43:58 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-08-04 22:43:58 -0300
commitdad5888cea24eb71cb58d0a260a208ba6e2d8073 (patch)
treef84b5e77b78a39b85a141a9e00c0622689d7ca27 /templates/postfix/sql/mysql-virtual-mailbox-limit-maps.cf.erb
downloadpuppet-mail-dad5888cea24eb71cb58d0a260a208ba6e2d8073.tar.gz
puppet-mail-dad5888cea24eb71cb58d0a260a208ba6e2d8073.tar.bz2
Initial import
Diffstat (limited to 'templates/postfix/sql/mysql-virtual-mailbox-limit-maps.cf.erb')
-rw-r--r--templates/postfix/sql/mysql-virtual-mailbox-limit-maps.cf.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/postfix/sql/mysql-virtual-mailbox-limit-maps.cf.erb b/templates/postfix/sql/mysql-virtual-mailbox-limit-maps.cf.erb
new file mode 100644
index 0000000..357bcb3
--- /dev/null
+++ b/templates/postfix/sql/mysql-virtual-mailbox-limit-maps.cf.erb
@@ -0,0 +1,5 @@
+user = <%= postfixadmin_user %>
+password = <%= postfixadmin_password %>
+hosts = <%= postfixadmin_hosts %>
+dbname = <%= postfixadmin_dbname %>
+query = SELECT quota FROM mailbox WHERE username='%s' AND active = '1'