I cannot send you the one we use on the server. However, this one should work:
hosts = www.ubuntu.com user = testuser password = testpassword dbname = testdb query = SELECT toAddress FROM mailgw_aliases WHERE fromAddress='%s' If you get the following error then the problem still persists: www.ubuntu.com: Unknown MySQL server host 'www.ubuntu.com' If you get a "connection refused" error (or similar) then you know that the DNS name was resolved correctly and the error happens when the connection is made (which likely fails because www.ubuntu.com probably does not host a public mysql DB). So that means that the fix works. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1023550 Title: Postfix missing libresolv in chroot jail To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1023550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs