Falco thank you very much, sorry for the delay.
user = ispconfig
password = thepass
dbname = dbispconfig1
table = mail_domain
select_field = domain
where_field = domain
additional_conditions = and active = 'y' and server_id = 1
hosts = 127.0.0.1
I was also checking that there are no users using hostnames
SELECT user, host
WHERE host <> 'localhost'
may be something related to the postfix chroot?
it is my host file:
127.0.0.1 localhost.localdomain localhost
192.168.1.49 server1.domain.tld server1
192.168.1.50 server2.domain.tld server2
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback