On Mon, Sep 29, 2003 at 05:52:57PM -0400, Chris Shenton wrote: > When qmail-ldap finds an ambiguous address, it replies with a bounce > but doesn't provide any helpful information; you can't tell whether > there's no likely recipient or there are multiple likely recipients. > Below, I've intentionally created a near-duplicate entry with same > mailAlternateAddress -- similar to what our X.500 system might > encounter from ambiguous CommonNames: > > From: [EMAIL PROTECTED] > Subject: failure notice > To: [EMAIL PROTECTED] > Date: 29 Sep 2003 21:35:44 -0000 > > Hi. This is the qmail-send program at saddam.saic.hq.nasa.gov. > I'm afraid I wasn't able to deliver your message to the following addresses. > This is a permanent error; I've given up. Sorry it didn't work out. > [custombouncetext] Message bounced; contact [EMAIL PROTECTED] > > <[EMAIL PROTECTED]>: > Sorry, no mailbox here by that name. (#5.1.1) > > --- Below this line is a copy of the message. > [...]
This was a bug in patches older than 20030901. In the newer releases a error message "Too many results returned but needs to be unique." is returned. This is in your case probably not much of an improvement. As Andre said it would be possible to forward such mails to a special alias account (e.g. ~alias/.qmail-ambiguous) and that account would generate a more comprehensive error message. I do not like to add more functionality to qmail-lspawn because this is one of the only processes running as root. -- :wq Claudio
