Re: temporary verify error

"Jimmy S." <[email protected]> Fri, 15 Oct 2010 12:47:32 +0200
Newsgroups gmane.mail.qmail.ldap
Message-ID <[email protected]>
"Jimmy S." <[email protected]> escribió:

>
> Hugo Monteiro <[email protected]> escribió:
>>
>> Maybe your ldap server is taking too long to reply to the queries?  
>> Have you watched the server load and ldap index placement?
>
>
> How can I check if ldap server is taking too long time to reply?
>
> It's strange, I have enabled the RBL check at FW level instead of  
> Kaspersky Antispam (which was after qmail), so qmail received now  
> very few smtp connections (since firewall drop many spam). But this  
> doesn't fix the problem, I continue receiving temporary verify  
> errors, but now I receive many "temporary verify error: ÃÃ@" instead  
> of "temporary verify error: "
>
> Server load appear normal.
>
> Respect to Index, I have this on /etc/openldap/slapd.conf:
>
> # qmail - indices
> index   objectClass     eq
> index   mail,mailAlternateAddress,uid                   eq,sub
> index   accountStatus,mailHost,deliveryMode             eq
> index   default    sub
>
>



I think that problem was the existence of duplicate entries in my LDAP  
database. Some uid's had same "mail" value. I've fixed this and  
problem doesn't happen anymore.

For detect this, I've modified the qmail-smtpd source code for add  
some extra info to log file, as check what are failing (RCPT or  
SENDER) and the e-mail address wich fail in verification.

Regards,
FJ