Subj : Filefind file limit
To   : Andrew Leary
From : Vince Coen
Date : Sat Dec 02 2017 01:00 pm

Hello Andrew!

Tuesday October 24 2017 23:50, you wrote to me:

> Hello Vince!

> 24 Oct 17 21:43, you wrote to all:

VC>> Found it and it in mbfido/filefind.c

VC>> There are four settings :

VC>> ----
VC>> /*
VC>>  *  The next constants are to prevent overflowing the echomail
VC>> areas
VC>>  *  with huge replies. MAX_DESC_LINES limits the number of file
VC>> description *  lines, 5 should be enough. The other two are the
VC>> maximum files to report *  if in the same area or different area.
VC>> * For netmail replies there is a different limit. */ #define
VC>> MAX_DESC_LINES          5 #define MAX_FILES_SAMEBOARD     25
VC>> #define MAX_FILES_OTHERBOARD    50 #define MAX_FILES_NETMAIL
VC>> 100
VC>> ----

VC>> Andrew is there any way we can change these as a param for
VC>> configure or better still within the system set up params ?

> We can probably do something about that without too much trouble.  As
> with anything, sysops will need to use common sense in setting limits
> to prevent gigantic echomail messages.

> In the future, I can look at possibly splitting large replies into
> multiple messages.

In the meanwhile I have sets these as  :

#define MAX_DESC_LINES          10
#define MAX_FILES_SAMEBOARD     100
#define MAX_FILES_OTHERBOARD    200
#define MAX_FILES_NETMAIL       500

Although not tested as no one has used it, figgers .

Vince

--- Mageia Linux v5.1/Mbse v1.0.7.4/GoldED+/LNX 1.1.501-b20150715
* Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)