postfix/pgsql-transport_maps.cf
branchv0.6.x
changeset 501 f2387d60624b
parent 490 9cdc6ef83265
equal deleted inserted replaced
500:5ccc9c6e5193 501:f2387d60624b
     9 
     9 
    10 # The database name on the servers.
    10 # The database name on the servers.
    11 dbname = mailsys
    11 dbname = mailsys
    12 
    12 
    13 # The SQL query template used to search the database
    13 # The SQL query template used to search the database
    14 # Use this VIEW-based template if you didn't create the pgsql function
       
    15 # `postfix_transport_map'.
       
    16 #query = SELECT transport FROM postfix_transport WHERE address='%s'
       
    17 
       
    18 # the recommended, function-based template
       
    19 query = SELECT transport FROM postfix_transport_map('%u', '%d')
    14 query = SELECT transport FROM postfix_transport_map('%u', '%d')