diff -r af813ede1e19 -r 14c0a092d7d2 pgsql-virtual_mailbox_domains.cf --- a/pgsql-virtual_mailbox_domains.cf Sat Sep 06 03:07:28 2008 +0000 +++ b/pgsql-virtual_mailbox_domains.cf Mon Sep 08 05:30:17 2008 +0000 @@ -9,4 +9,4 @@ dbname = mailsys # Postfix 2.2 and later The SQL query template. See pgsql_table(5). -query = SELECT gid FROM postfix_gid WHERE domainname = '%d' +query = SELECT gid FROM postfix_gid WHERE domainname = '%s'