garyb@outlawnet.com (Gary Bickford) writes:
> Has anyone come up with a handy way to strip this back off before archiving
> or digesting?? They're also generally still hanging on the end of replies
> to list mail, so it'd be nice to strip them off in reply form as well.
and then t.bowden@qub.ac.uk (Tony Bowden) writes/follows:
> What sort of list software are you running? I'm using SmartList, so
> theoretically all I need a procmail recipe which can strip the footer,
> but I don't know enough about procmail to write this...
I'm running SmartList as well, and this was an easy mod to make.
Basically, for digests (which I only offer), SmartList keeps the message
header, body and footer separate until it actually sends it out. I just
hacked ".bin/flush_digest" script to only archive the header and body,
*not* the footer. Email me separately and I'll send you the 10 or so
lines of patched code.
For other user-servicable MLM's, I'd imagine that this wouldn't be such
a big deal... even if you've only got the full message to work with, on
Un*x like systems with the usual assortment of commands, you can just
figure out how many lines your message is (i.e., "wc"), and then use
"head" to only archive the top ( message_length - trailer_length )
lines. See your man pages for more info. In Perl (i.e., for
majordomo), this is also relatively easy.
-Eric
--
Eric J. Hansen ................................. mailto:eric@worldmachine.com
Worldmachine Technologies ....................... http://www.worldmachine.com
Follow-Ups:
|
|