postfix/pgsql-virtual_alias_maps.cf
changeset 571 a4aead244f75
parent 501 f2387d60624b
--- a/postfix/pgsql-virtual_alias_maps.cf	Mon Nov 07 03:22:15 2011 +0000
+++ b/postfix/pgsql-virtual_alias_maps.cf	Thu Jun 28 19:26:50 2012 +0000
@@ -11,4 +11,4 @@
 dbname = mailsys
 
 # The SQL query template used to search the database
-query = SELECT destination FROM postfix_alias WHERE address='%s'
+query = SELECT destination FROM postfix_virtual_alias_map('%u', '%d')