On 8/3/2011 6:59 AM, Jirka Bourek wrote: > > and I get "Recipient address rejected: User unknown in relay > recipient table". Adding "@testing.domain" into table domains leads > to "Relay access denied"
Seems to me if you're getting a "relay access denied" then the @testing.domain is working, and you have some other rule that's rejecting the mail. Or maybe you somehow removed "testing.domain" from relay_domains. Sorry, I don't debug SQL. I suggest you get it working with flat files first, then duplicate the setup with your SQL. > > I was expecting Postfix to send some query with "@testing.domain" > (which would hint me what should I add into DB), but no such query > in PostgreSQL log. > > Any ideas? Maybe your query is broken. If you need more help, please see: http://www.postfix.org/documentation.html http://www.postfix.org/DEBUG_README.html#mail -- Noel Jones