pgsql-virtual_mailbox_maps.cf
changeset 105 0332b85f55e1
parent 0 bb0aa2102206
equal deleted inserted replaced
104:c0b5afb89088 105:0332b85f55e1
     1 # The hosts that Postfix will try to connect to
     1 # All parameters are described in pgsql_table(5) / PGSQL PARAMETERS
     2 hosts = host1.some.domain host2.some.domain
     2 #
       
     3 # The hosts that Postfix will try to connect to and query from.
       
     4 hosts = localhost
     3 
     5 
     4 # The user name and password to log into the pgsql server.
     6 # The user name and password to log into the pgsql server.
     5 user = postfix
     7 user = postfix
     6 password = some_password
     8 password = some_password
     7 
     9 
     8 # The database name on the servers.
    10 # The database name on the servers.
     9 dbname = mailsys
    11 dbname = mailsys
    10 
    12 
    11 # Postfix 2.2 and later The SQL query template. See pgsql_table(5).
    13 # The SQL query template used to search the database
    12 query = SELECT maildir FROM postfix_maildir WHERE address='%s'
    14 query = SELECT maildir FROM postfix_maildir WHERE address='%s'