On Thu, 2003-02-13 at 18:55, J�r�me MOLLIER-PIERRET wrote:
> Hello,
>
> Witch version of qmailadmin are you using ?
1.0.2 & 1.0.6,
Yesterday I installed 1.0.10 and I have the same issue.
You can look in user.c and grep for "count < 2" and you'll see that this
limit is "hard-coded" in the source, not in any .qmailadmin-limit file.
> And the source you mentioned doesn't seem to test this like that.
what do you mean?
> > count=0;
> > while( tmpstr != NULL && count < 2) { /* <= here */
> > fprintf(fs,"&%s\n", tmpstr);
> > tmpstr = strtok(NULL," ,\n");
> > ++count;
> > }
I see clearly that it writes max 2 lines
> The
> MAX_FWD_COUNT is probably not the good variable,
Actualy, this variable it doesn't exist :)
I was just sayin' what if I define such a variable
#define MAX_FWD_COUNT 2
and I replace "count < 2" with "count < MAX_FWD_COUNT" then I start
playing with MAX_FWD_COUNT values.
Regards,
Mircea MITU