Hello List;
I reported this bug about 6 months ago and never got a response. I have
since upgraded to the latest versions of vpopmail and
qmailadmin. Whenever I attempt to add a new user to a domain with no
mailing list defined, it will bomb with the error "out of memory" I
tracked this down to being in html_text in
/usr/local/share/qmailadmin/html/en/html_text which is an error it prints
out when the cgi returns a value of NO_MEM. I dug through the source and
found NO_MEM only being set in user.c. This is the function that is
causing problems:
GetValue(TmpCGI, c_num, "number_of_mailinglist=", MAX_BUFF);
num = atoi(c_num);
if(!(mailingListNames = malloc(sizeof(char *) * num))) {
fprintf(actout, get_html_text("NO_MEM"));
exit(0);
} else {
for(cnt = 0; cnt < num; cnt++) {
if(!(mailingListNames[cnt] = malloc(MAX_BUFF))) {
fprintf(actout, get_html_text("NO_MEM"));
exit(0);
Now, the problem is that I am *not* a c programmer, so if someone wants to
help me figure out what's going on, that would be great.
Platform/Software specifics:
O/S: AIX 4.3.3.0
C compiler: gcc 2.95.2
qmailadmin 0.39
vpopmail 4.9.5
Also, another issue that I've noticed is that when trying to add a mailing
list after I've configured qmail admin with the --enable-ezmlmidx=y flag,
it will tell me it added the mailing list, but when I try to view it,
nothing shows up (ezmlm 0.53 and idx 0.40 installed in
/usr/local/bin/ezmlm) If I compile it withoug the ezmlmidx switch, I can
add a mailing list, but when I try to view moderators (once again, telling
me it added the moderator just fine) nothing shows.
If someone could help me track down this bug, it would be great, or even
help me get more detailed information for the developers.
Regards,
Tren Blackburn.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- Tren Blackburn - Ownermailto:[EMAIL PROTECTED] =
= End of Time Networks http://www.theendoftime.net -
- (403) 269-2122 =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-