postfix/pgsql-virtual_mailbox_maps.cf
changeset 571 a4aead244f75
parent 501 f2387d60624b
--- a/postfix/pgsql-virtual_mailbox_maps.cf	Mon Nov 07 03:22:15 2011 +0000
+++ b/postfix/pgsql-virtual_mailbox_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 maildir FROM postfix_maildir WHERE address='%s'
+query = SELECT maildir FROM postfix_virtual_mailbox_map('%u', '%d')