postfix/pgsql-smtpd_sender_login_maps.cf
changeset 760 b678a1c43027
parent 748 659c4476c57c
child 761 e4e656f19771
equal deleted inserted replaced
748:659c4476c57c 760:b678a1c43027
     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')