Commit b271302c authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Clean up postfix mysql files

parent 5397b666
Loading
Loading
Loading
Loading
+0 −18
Original line number Diff line number Diff line
@@ -10,25 +10,7 @@
# The address or domain to match is passed as the argument %s
#

#hosts = mail-db

#user = mail-user
#password = siCQ0evnvopokwef09G508wh0v8hw98hv8NSWnwug93jg98vbbj0Hrb87gyUBf3095g67

dbname = app_accounts
#query =
#  SELECT
#    username
#  FROM accounts
#  LEFT JOIN mailboxes
#  ON
#    accounts.id = mailboxes.account_id
#  LEFT JOIN addresses
#  ON
#    address.id = mailboxes.address_id
#  WHERE
#    addresses.address = '%s'

query =
  (
   SELECT
+6 −14
Original line number Diff line number Diff line
#hosts=127.0.0.1
#hosts = dex.kodo.org.uk

#user=mail
#password=fjU5s78C

#user = mail-user
#password = siCQ0evnvopokwef09G508wh0v8hw98hv8NSWnwug93jg98vbbj0Hrb87gyUBf3095g67

#dbname=maildb
#table=domains
#select_field=domain
#where_field=domain
#additional_conditions = and enabled = 1
#
# This MySQL query returns whether a domain is managed by this server.
# (True if non-empty)
#
# The domain to match is passed as the argument %s
#

dbname = app_accounts
table = users left join email_addr on users.pkid=email_addr.pkid
+0 −9
Original line number Diff line number Diff line
@@ -7,15 +7,6 @@
# It takes the username resolved from mysql_alias.cf as the argument %s
#

#hosts = 127.0.0.1
#hosts = dex.kodo.org.uk

#user = mail
#password = fjU5s78C

#user = mail-user
#password = siCQ0evnvopokwef09G508wh0v8hw98hv8NSWnwug93jg98vbbj0Hrb87gyUBf3095g67

dbname = app_accounts
query = 
  SELECT