postfix/pgsql-smtpd_sender_login_maps.cf
changeset 159 78b6b06188d3
parent 105 0332b85f55e1
child 491 320531aa1280
equal deleted inserted replaced
158:6949f6eaf26e 159:78b6b06188d3
       
     1 # All parameters are described in pgsql_table(5) / PGSQL PARAMETERS
       
     2 #
       
     3 # The hosts that Postfix will try to connect to and query from.
       
     4 hosts = localhost
       
     5 
       
     6 # The user name and password to log into the pgsql server.
       
     7 user = postfix
       
     8 password = some_password
       
     9 
       
    10 # The database name on the servers.
       
    11 dbname = mailsys
       
    12 
       
    13 # XXX see create_optional_types_and_functions.pgsql
       
    14 # 	* line  9: type sender_login
       
    15 # 	* line 26: function postfix_smtpd_sender_login_map + comment above
       
    16 #
       
    17 # The SQL query template used to search the database
       
    18 #query = SELECT login FROM postfix_smtpd_sender_login_map('%u', '%d')