I reckon this is the latest SVN checkout (not CVS)?
>From looking at the code, things seem to fail here:
num_rows = db_num_rows();
if (num_rows == 0) {
if (checks > 0) {
/* found the last one, this is the deliver to
* but checks needs to be bigger then 0 because
* else it could be the first query failure */
id = strtoull(username, &endptr, 10);
if (*endptr == 0)
list_nodeadd(userids, &id, sizeof(id));
/* numeric deliver-to --> this is a userid */
else
list_nodeadd(fwds, username, strlen(username) +
1);
trace(TRACE_DEBUG, "%s,%s: adding [%s] to deliver_to
address",
__FILE__, __func__, username);
db_free_result();
db_set_result_set(saveres);
return 1;
} else {
trace(TRACE_DEBUG, "%s,%s: user %s not in aliases
table",
__FILE__, __func__, username);
db_free_result();
db_set_result_set(saveres);
return 0;
}
}
Somehow, checks seems to be 0 (zero), instead of something bigger than
zero. However, I can't seem to find out why (looking at the HEAD of
dbmail_2_0_branch). Can you walk through this with a debugger?
Ilja
2005/7/6, Igor Olemskoi <[EMAIL PROTECTED]>:
> dbmail-2.0.LATEST-CVS FAIL (in reply to RCPT TO command)
>
> log file is attached.
>
> linux, postfix, mysql 4.1.12
>
>
> _______________________________________________
> Dbmail-dev mailing list
> [email protected]
> http://twister.fastxs.net/mailman/listinfo/dbmail-dev
>
>
>
>