[PREVIOUS CHAPTER]
[NEXT CHAPTER]
2 examples
2.1 The directory where FML creates archives
$ARCHIVE_DIR = 'var/archive'; (default is 'var/archive')
The search path for archive directories is @ARCHIVE_DIR.
$ARCHIVE_DIR is set to $ARCHIVE_DIR[0].
2.2 Archive Unit
The unit of packing articles to one file is
$ARCHIVE_UNIT
If not defined, FML uses
$DEFAULT_ARCHIVE_UNIT (default 100)
2.3 get command and search path
Consider "get 1", "mget 1" command. The search path when FML
interprets "get" and "mget" command follows:
* Case: "get 1" and "mget 1"
1 $SPOOL_DIR (=> $FP_SPOOL_DIR)
2 @ARCHIVE_DIR
If e.g. var/archive/100.tar.gz is found, FML extracts the
article 1 from it and send back the article.
* Case: "mget 1-10" command
The search path algorithm is the same. If plain article are not found
in spool and 100.tar.gz is found, FML extracts 1-10 articles from it
and send back them.
* Case: "get 100.tar.gz" and "mget 100.tar.gz" command
send back var/archive/100.tar.gz itself ("uuencode"d in default).
2.4 Re-create summary file when expire
$EXPIRE_SUMMARY = 1;
to re-create summary. This process removes older articles entries in
summary.
[PREVIOUS CHAPTER]
[NEXT CHAPTER]