TODO and WHISHLIST (in sparse order):

- Sync virott* with rottlog

- Add use of "set +p" when executing actions and scripts?
- Add check to deny use of shell variables in first/last action
- Add exit function (in trap) to mail to admin if used mailopt all 

- Move 'mailopt all' to main rc config file. Add use of global 'mailopt' 
  parameter accepting parameters (a combination of):
  stat		-> mail statistical results
  all		-> mail all handled logfile in all config files
  monthly	-> mail all handled logfile in monthly config file
  weekly	-> mail all handled logfile in weekly config file
  daily		-> mail all handled logfile in daily config file
  custom	-> mail all handled logfile in custom config file

- Re-add mailopt stat in config files (not rc) to obtain statistical 
  informations about only one file. Must be added another control file
  containing statical informations.

- Something to clean-up old .rtt control files

- Add use of something to handle .@DEF_EXT extension only for compressed logs

- logpart: from second time a log is handled (using B or L) must be cut x 
  Bytes or x Lines from beginning of logfile. (To prevents double archiving
  of same data)

- Add default_period option in main rc file?

- Add a @ERRORSCRIPT metavariable activated by "mailopt err" that add in 
  pre/post rotate scripts something like:
  if [ $? -ne 0 ]; then
    echo "Error in (x)rotate script"|mail -s "error script" $touser
  fi
  It's better to call @ERRORSCRIPT a macro.

- In actions can be used $TDIR to reference to a temporary dir.
  In TDIR there is the same value expanded in @TEMPDIR in other sections.

- add a CUI and/or a GUI to edit configuration 

- Add a 'permanentinfo' option to search for previously saved informations
  about a logfile. This speed up handling of logfiles and add other
  infos impossbile to use without this.

- Add check in virott* for collect/tarcollect
- Add check on recursive use of "collect" (monthly points to a weekly
  logfile containing a collect directive to a daily log...)

- Add a @X_STOREFILE to use already expanded storefile (to be used
  in postrotate scripts) ????
- Add a @X_STOREDIR to use already expanded storedir (to be used
  in postrotate scripts) ????

- Add "def[pre,post]rotate" script in main RC file??

