Well, it seems to work great. I opted for using sed to put the delimiter
after the message body. No errors and it runs like a champ!
:0
* ^TOjoke-l\>
{
# Save a copy of the entire message to the main archive
:0c:
$HOME/mail/joke-l
# Do nasty things to the original's headers
:0fh
| formail -k -XFrom -XTo: -XDate: -XSubject:
:0fb
| sed '$a\
--'
# Save a copy to the daily file
:0c
$ARCHIVES/$DAYFILE
# Finally, save a copy to the monthly file
:0
$ARCHIVES/$MONTHFILE
}
Regards,
Dave/Webmaster
VserV Inc. | Enjoy Great Humor?
www.v-serv.com | Join Joke-L
Commercial Website Hosting | Listserv <listserv(_at_)ddave(_dot_)com>
"I love the smell of SPAMMER frying in the morning."
Wagner playing in the background...