In the message dated: Tue, 23 Mar 2010 10:32:48 CDT,
The pithy ruminations from [email protected] on
<Re: [exmh-users] base64 message body decode when replying??? > were:
=>
=> > >That makes sense. Has anyone scripted a filter, maybe triggered
=> > >via ~/.mh_profile, which pre-formats the message before handing
=> > >off the content to the actual repl?
=>
=> Yes. Here's something I wrote back in '04. I think it should do
That's a really helpful starting point...but it's got a few issues:
if the text component of the MIME message has a "charset" spec,
the mhshow command will attempt to provide an environment
(ie., an Xterm window) what that charset can be displayed...
so the temp file will not contain the message body
all the message headers are included as part of the temp
file. Strictly speaking, I guess this is accurate in a
reply, in that those characters were in the original message,
but it's not the expected behavior.
=> what you want. If someone figures out how to make ~/.mh_profile
=> configure repl to "do the right thing" let me know. I don't care
I already use a wrapper in front of repl. It's some perl code that sets the
From, Reply-To, Fcc, and .signature based on the address to which the original
mail was sent. In other words, if the mail was sent to my $WORK address, the
reply uses my $WORK address, $WORK address and phone number, etc.
I'm using some of the things suggested on this thread to modify my wrapper
script to do the filtering of MIME messages to text.
=> that much--I just invoke it on demand (maybe once or twice a week.)
=>
=> Looked at Sylpheed last week. Bah. I wonder if EXMH will last
=> forever?
I don't know Sylpheed....but if you've got to use something other than
[ex|n]mh, you might want to look at CLAWS. It's very GUI, but it works with
the mh folder strucure and single-message-per-file storage. This allows
multiple clients to reference teh same message store, or makes it possible to
synchronize messages between clients.
Thanks,
Mark
=>
=> steve
=> --
=>
=> #!/bin/bash
=> repl -filter /dev/null -nodraftfolder -nowhatnowproc $*
=> (cat ~/Mail/draft; echo -e "\n > ---- Original Message ----" ; \
=> mhshow cur -type text -nopause -nomoreproc \
=> | egrep -v '^Return-Path|^Delivery-Date|^part[ ]+text/plain' \
=> | egrep -v '^X-|^MIME' \
=> | sed 's/^/ > /' \
=> ) > ~/Mail/drafts/999
=> comp -use -draftfolder drafts -draftmessage 999
=> rm -f ~/Mail/draft
=> rm -f ~/Mail/drafts/999
=>
=> _______________________________________________
=> Exmh-users mailing list
=> [email protected]
=> https://www.redhat.com/mailman/listinfo/exmh-users
=>
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.