After aplying the dash-trick patch (20010501) I started getting errors
when trying to deliver to an existing user (for instance
[EMAIL PROTECTED]):
Out_of_memory_in_qmail-lspawn.
Non-existing users give the usual error:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)
When I try delivering to [EMAIL PROTECTED] the message gets
delivered at the user's Maildir (blind to the .qmail-zbr I put there).
I found this error (the Out of memory one) to be originated at the
block starting at line 572 in qmail-lspawn.c:
#ifdef DASH_EXT
/* Here we fill the nughde structure with the dash-field the extension field */
if ((dash > 0) && (dash < (at-1))) {
if (!stralloc_cats(&nughde,"-")) _exit(QLX_NOMEM);
if (!stralloc_0(&nughde)) _exit(QLX_NOMEM);
if (!stralloc_catb(&nughde,r+dash+1,at-dash-1)) _exit(QLX_NOMEM);
if (!stralloc_0(&nughde)) _exit(QLX_NOMEM);
} else {
#endif
The user's ldap entry is as follows (can this have something to do with
the "@" at mail or uid?):
ldap_lookup: searching with ([EMAIL PROTECTED])
ldap_lookup: succeeded, found:
uid: [EMAIL PROTECTED]
qmailUID: 501
qmailGID: 502
accountStatus: undefined
mailMessageStore: /servers/storage/morgoth.sl.pt/bofh/
homeDirectory: (null pointer)
mailHost: morgoth.sl.pt
mail: [EMAIL PROTECTED]
mailAlternateAddress: no entry in the database
mailQuota: 100000S,10C
mailForwardingAddress: no entry in the database
deliveryProgramPath: no entry in the database
qmailDotMode: no entry in the database
deliveryMode: no entry in the database
mailReplyText: no entry in the database
TIA.
--
Jose Celestino <[EMAIL PROTECTED]>
---------------------------------