Hello,
We get lines like these in logs from the pgsql dbmail:
dbmail/smtp[5261]: db_check_sizelimit(): checking mailbox [xi^G^H1]
That last "1" happens to be the mailbox id it's checking, and
is consistently so, but is just coincidence from where stuff
lies in memory. This fixes it:
--- dbmail_1_2-20040909/pgsql/dbpgsql.c 2004-03-23 02:04:38.000000000 -0700
+++ dbmail_1_2-20040909.fix/pgsql/dbpgsql.c 2004-09-09 12:30:41.000000000
-0600
@@ -1244,8 +1244,8 @@
for (PQcounter = 0; PQcounter < PQntuples (res); PQcounter++)
{
- trace (TRACE_DEBUG,"db_check_sizelimit(): checking mailbox
[%s]\n",value);
value = PQgetvalue (res, PQcounter, 0);
+ trace (TRACE_DEBUG,"db_check_sizelimit(): checking mailbox
[%s]\n",value);
n = value ? strtoull(value, NULL, 10) : 0;
j = db_check_mailboxsize(n);
Thanks,
Jesse
--
Jesse Norell
[EMAIL PROTECTED] is not my email address;
change "administrator" to my first name.
--