pgsql-smtpd_sender_login_maps.cf
changeset 73 11da3d9298b4
parent 10 8f6e34549c26
child 105 0332b85f55e1
--- a/pgsql-smtpd_sender_login_maps.cf	Mon Sep 01 03:11:23 2008 +0000
+++ b/pgsql-smtpd_sender_login_maps.cf	Tue Sep 02 01:15:41 2008 +0000
@@ -9,5 +9,4 @@
 dbname = mailsys
 
 # Postfix 2.2 and later The SQL query template. See pgsql_table(5).
-query = SELECT address FROM postfix_maildir WHERE address='%s'
- UNION SELECT destination FROM postfix_alias WHERE address='%s'
+query = SELECT login FROM postfix_smtpd_sender_login_map('%u', '%d')