4 Nov
2006
4 Nov
'06
1:21 p.m.
On Fri, 2006-11-03 at 13:22 +0100, Chris Laif wrote:
If the auth backend (postgresql in my case) returns extra fields, and all of these extra_fields begin with 'userdb_', the auth_callback functions adds an unwanted extra tab at the end of the response:
auth(default): client out: OK^I8^Iuser=foo@bar^I
This extra tab at the end confuses exim's dovecot-auth handler (the exim-dovecot auth handler does not correctly count the number of returned fields then (side note: the code on exim's side should probably be cleaned up as well)).
A quick fix is attached below.
Thanks, fixed.