Well, why there is such low limit without #define INT_MAX_VALUE YY Is should be like (Mail->maxperhour > INT_MAX_VALUE) ?
-- Eero 2016-01-28 16:22 GMT+02:00 <[email protected]>: > Hi, > > I found that limit and it's hardcoded at function Read_Global(), in > src/config/global-config.c > > if ((Mail->maxperhour <= 0) || (Mail->maxperhour > 9999)) { > merror(XML_VALUEERR, __local_name, node[i]->element, node[i]->content); > return (OS_INVALID); > } > > You may increase this limit as you need it and recompile your OSSEC > manager, but there's no way to use a greater number of emails by modifying > a config file. > > I hope this will help you. > > Best regards. > > -- > > --- > You received this message because you are subscribed to the Google Groups > "ossec-list" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
