The warning disappears if I use just one masscheck and not split them in two


Cheers


tobi

On 5/5/21 9:47 AM, Henrik K wrote:
> On Wed, May 05, 2021 at 10:44:17AM +0300, Henrik K wrote:
>> On Wed, May 05, 2021 at 10:42:24AM +0300, Henrik K wrote:
>>> As per automasscheck-minimal.cf.dist it should look like this:
>>>
>>> run_all_masschecks() {
>>>   ### sample: single corpus ###
>>>   run_masscheck spam-corpus --all \
>>>           --after=-4838400 spam:dir:/data/archive/spam/ \
>>>           --after=-174182400 ham:dir:/data/archive/ham/
>>> }
>>>
>> PS.  Never mind the "spam-corpus"..  which is "single-corpus" in example.. 
>> the name doesn't affect anything..
> Actually it does..  unless you use "single-corpus" the name will be added to
> the physical lognames..
>
>   if [ "$CORPUSNAME" = "single-corpus" ]; then
>     # Use this if you have only a single corpus
>     LOGSUFFIX=
>   else
>     LOGSUFFIX="-${CORPUSNAME}"
>   fi
>
> So I recommend using "single-corpus".  Normally there isn't any need to call
> run_masscheck multiple times.
>
> Sorry for rambling, busy working right now..
>
>

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to