![]()
From: Kent Landfield (kent@hypermail.org)
Date: Tue Oct 26 1999 - 17:49:05 CDT
# > b) cat received hypermail -c spam.config -p
# >
# > This processes received, but
# >
# > . ignores everything written in spam.config and
# > . overwrites files in `./archive' instead of appending new mails
# > there
# >
# > Is this the expected behaviour?
#
# Not sure what's going on here, although I never piped anything through
# hypermail like this.
Try this:
---------
cd tests
for i in mboxes/t[0-9]*
do
cat $i | ../src/hypermail -p -i -u -c "test.rc"
sleep 1
done
If you are piping something into hypermail then you need to tell it that.
-i Reads in articles from standard input.
-u This updates archives by one message only. With this
option, only one email message will be read in from a
file or standard input. This message will be added to
the end of the existing HTML file archive and will be
integrated into it by links and cross-references. All
archive index files will be regenerated to include the
new message.
Or if you use the config file only:
increment = 1
Set this to 1 to read one article only and append it to
existing archives.
mbox = NONE
This is the mailbox to read messages in from. Set this
with a value of NONE to read from standard input.
-- Kent Landfield Phone: 1-817-545-2502 Email: kent@landfield.com http://www.landfield.com/ Email: kent@nfr.net http://www.nfr.net/ Search the Usenet FAQ Archive at http://www.faqs.org/faqs/ Search the RFC/FYI/STD/BCP Archive at http://www.faqs.org/rfcs/
![]()