[exim] PGSQL problem

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jacco van Gent
Data:  
Para: exim-users@exim.org
Asunto: [exim] PGSQL problem
Hi,

I hope someone can help me. I tried searching for a solution but so far haven't found anything that would fix it.

WHITELISTED_HOSTS = pgsql;SELECT from_address FROM lists WHERE to_address='any' AND list_type=1 AND from_address='${quote_pgsql:$sender_host_address}';

This is a line in macros.conf, and this query does run successfully if the host is IPV4, if the host is IPV6 I get the following error message:

temporarily rejected connection in "connect" ACL: PGSQL: query failed: ERROR: unterminated quoted string at or near "'2001"

So the million dollar question here would be how to make sure the ipv6 address is actually terminated.