Hm, this prints more details, among others:

 PGSQL new connection: socket=/var/run/postgresql database=) user=dfctl
 lookup deferred: PGSQL invalid filename for socket: /var/run/postgresql

I'm not sure what's exactly invalid here. But it's not what I configured either. This is the relevant config:

PGSQL_HOST = (/var/run/postgresql/)
PGSQL_USER = mailreader
PGSQL_DB   = dfctl
hide pgsql_servers = "PGSQL_HOST/PGSQL_DB/PGSQL_USER"

Somehow Exim got confused with the database connection parts. The parenthesis syntax was explained in the documentation, to avoid confusion with all those slashes in there. Doesn't seem to work, it got confused.

How should I configure a PostgreSQL connection using a local socket and no password in Exim?

The socket path works fine in Dovecot, exactly as shown, with leading and trailing slash.



-------- Ursprüngliche Nachricht --------
Von: Jeremy Harris via Exim-users <[email protected]>
Gesendet: Donnerstag, 17. September 2020, 21:42 MESZ
Betreff: [exim] Temporary internal error

On 17/09/2020 20:32, Yves Goergen via Exim-users wrote:
exim -bt [email protected]

exim -d -bt [email protected]



--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to