[exim] Non-verbose SQL errors

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Chris Laif
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] Non-verbose SQL errors
I'm using Postgresql for various Database lookups. If a database query
fails for whatever reason, the detailed SQL error message is shown to
the client during SMTP talk:

temporarily rejected RCPT <foo>: PGSQL: query failed: ERROR: duplicate key ...

Is it possible to change this to a more generic error message, e.g.
"internal database error"?

The detailed error message should be shown
a.) in the log file only
b.) only in debug-mode

Chris