Ok, i must have been tired... After looking at auth_smtp.c I've found what I had forgotten.
qmail logs failures with an additional line "warning: auth_fail: <string>" what is just what I was looking for. Greets Phil. > -----Original Message----- > From: Philipp Kolloczek [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 10, 2008 10:06 AM > To: '[email protected]' > Subject: qmail-ldap's smtp-auth -> more info for failures > > Hello. > > I'm trying to get qmail-ldap to write more info to > the log on an "authentication error" in the smtp-auth > process. > > Actualy qmail-smtp only logs the failure without > giving more infos. It would be nice in cases of > support calls to have the username a user tried > within the failure notice, like it is on a success. > > Any knows of a patch for that? > > Greets > Phil.
