[PREVIOUS CHAPTER]
[NEXT CHAPTER]
3 spool saved what ?
articles delivered in mailing list.
Each ML has each spool directory where one article is one file.
3.1 data input to fml is saved ?
use $USE_LOG_MAIL to save input in var/Mail/.
$FML_EXIT_HOOK = q#
my ($f) = "$SPOOL_DIR.orig/$ID";
-d "$SPOOL_DIR.orig" || mkdir("$SPOOL_DIR.orig", 0700);
if (open($f, "> $f)) {
print $f $Envelope{'Header'}."\n".$Envelope{'Body'};
close($f);
}
#;
3.2 Not spooling of articles
If you have not enough disk, you may not spool articles. If so, set
$NOT_USE_SPOOL = 1;
Of course, "get", "mget" commands do not work.
3.3 read permission for ML's spool ($SPOOL_DIR)
FML runs as an owner of a ML maintainer. In default the only maintainer
can read articles, spools, ...
Some exceptional files exist. For example directories under htdocs/ is
world readable for httpd.
See ../internals 9.0 for security.
3.4 reconvert MIME characters in the spool
use lib/MIME/rmime and runs shell scripts like
for file in *
do
mv $file $file.org
perl rmime $file.org > $file
done
nkf -m must be also useful if nkf is not too old.
3.5 read not MH in the spool which is sent back by "mget".
To create "mbox", you use lib/Utilities/packmbox.pl and runs
(cd spool; packmbox.pl ) > ~/mbox
[PREVIOUS CHAPTER]
[NEXT CHAPTER]