MAKE_NEW_REF(8)

NAME
make_new_ref - Clean up References database of ifmail FTN gateway

SYNOPSIS
make_new_ref

DESCRIPTION
make_new_ref copies active entries of the references database to a new file, compacting the database.
It uses the ref_*_extended() function to copy entries in the database

You should run this program regularly from cron in order to purge the References database and avoid it to grow out more than needed. You need to move the old database file or rm it.
It takes no parameters (the References database pathname and days before expire are hardcoded, see section BUGS), and outputs to stdout a report for each entry in the database if compiled to do so.

FILES
/var/spool/ifmail/refdb
    References database

$IFLIBDIR/config
    ifmail configuration file. Not used by make_new_ref but is there that the References database true pathname is set.

BUGS
- Hard-coded constants; maybe should use lib.a
- See ref.c

BASED-ON
make_new_ref.c PV001 of 16/06/96 MSC97

AUTHOR
Marc SCHAEFER <schaefer@alphanet.ch>

SEE ALSO
ifmail(8), ifnews(8), iftoss(8), cleanup_ref(8), mv(1), rm(1)