pgsql-smtpd_sender_login_maps.cf
changeset 73 11da3d9298b4
parent 10 8f6e34549c26
child 105 0332b85f55e1
equal deleted inserted replaced
72:ee0a0b5a8c2b 73:11da3d9298b4
     7 
     7 
     8 # The database name on the servers.
     8 # The database name on the servers.
     9 dbname = mailsys
     9 dbname = mailsys
    10 
    10 
    11 # Postfix 2.2 and later The SQL query template. See pgsql_table(5).
    11 # Postfix 2.2 and later The SQL query template. See pgsql_table(5).
    12 query = SELECT address FROM postfix_maildir WHERE address='%s'
    12 query = SELECT login FROM postfix_smtpd_sender_login_map('%u', '%d')
    13  UNION SELECT destination FROM postfix_alias WHERE address='%s'