Hi Ken;

I'm just currious if you've made any headway on this problem yet or
not.  It's not urgent because there is a workaround, but I've not heard
anything for a while now.

Regards,

Tren Blackburn.

On Thu, 27 Jul 2000 [EMAIL PROTECTED] wrote:

> Hi Ken;
> 
> Glad I was able to make your day interesting.  =)  Anyhow, I made the
> changes you requested and tested them:
> 
> Out of memory, 0
> 
> That is the output I am getting now.  If you need any more help testing
> this, please let me know.
> 
> Regards,
> 
> Tren Blackburn
> End of Time Networks
> 
> On Thu, 27 Jul 2000, Ken Jones wrote:
> 
> > [EMAIL PROTECTED] wrote:
> > > 
> > > Hi All;
> > > 
> > > I have an IBM RS/6000 with AIX 4.3.3.0 installed.  I was able to compile
> > > qmailadmin with relitavely few problems (is the configure script going to
> > > be changed to pick up he location of the mysql libs?  I just manually
> > > patched the makefile, but it seems like this should be automagically
> > > picked up) 
> > 
> > Yes. I'm still working on it. The idea will be that vpopmail will
> > create a file in ~vpopmail/etc that holds the -L and -l lines for
> > client programs. 
> > 
> > Then to have qmailadmin's configure pick up the contents of that
> > file and insert them into the makefile. 
> > 
> > That way, if vpopmail is configured for mysql or oracle or whatnot,
> > qmailadmin will get the needed link line.
> > 
> > > but when I go in to make a user, I get a nice little error:
> > > 
> > > Out of memory
> > > 
> > > When I click the button to create the user.  I looked through the source
> > > tree and found it to be happening in program user.c in the section
> > > 
> > >         GetValue(TmpCGI, c_num, "number_of_mailinglist=", MAX_BUFF);
> > >         num = atoi(c_num);
> > >         if(!(mailingListNames = malloc(sizeof(char *) * num)))
> > >         {
> > >            fprintf(actout, "Out of memory");
> > >            exit(0);
> > >         }else
> > >         {
> > >                 for(cnt = 0; cnt < num; cnt++)
> > >                         if(!(mailingListNames[cnt] = malloc(MAX_BUFF)))
> > >                         {
> > >                                 fprintf(actout, "Out of memory");
> > >                                 exit(0);
> > >                         }
> > > 
> > > It looks like if there are no mailing lists defined, it will blowup with
> > > an out of memory message.  So, I made a mailing list and then made the
> > > user and it worked perfectly.  I'm not a C programmer, so I don't know how
> > > to fix it, but I can at least track it down!  =)
> > > 
> > > Hope this helps and if any more info is needed or a shell account on my
> > > server for testing, please let me know.
> > 
> > Very interesting. I wonder what value is being read as the number of
> > mailing lists. Could you do an experiment for me..
> > 
> > Modify this line:
> >  fprintf(actout, "Out of memory");
> > 
> > to 
> > 
> >  fprintf(actout, "Out of memory, %d", num);
> > 
> > and remove the mailing list.
> > 
> > I'd like to see what the value of num is.
> > 
> > Ken Jones
> > inter7
> > 
> 
> 

Reply via email to