# > 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:
cat $i | ../src/hypermail -p -i -u -c "test.rc"
sleep 1
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_at_landfield.com http://www.landfield.com/
Email: kent_at_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/
Received on Wed 27 Oct 1999 12:49:58 AM GMT
This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:51 PM GMT GMT