- Rob Genovesi <[EMAIL PROTECTED]>:

| I am using qmail v1.03 with the users/assign method.  bin/qmail-newu
| builds a cdb database for the assign file and I am trying to use
| 'cdbget' fromt he cdb-0.55 package to query data from this database.
| 
| I notice the cdbget can recover find records for keys that start
| with a '+' but not records that start with a '='.

That is because the `=' records are stored with the trailing null byte
as part of the lookup key.  The code in nughde_get (qmail-lspawn.c)
cleverly uses this by first searching for the whole local part with
null byte appended, and then trying successively shorter substrings.

- Harald

Reply via email to