nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] repl and mime handling

2012-01-17 07:07:57
On 01/16/12 22:36, bergman(_at_)merctech(_dot_)com wrote:
In the message dated: Mon, 16 Jan 2012 13:28:22 GMT,
The pithy ruminations from Andreas Wittkemper on
<Re: [Nmh-workers] Dealing with missing From: header during send.>  were:
=>  On 01/10/12 16:56, bergman(_at_)merctech(_dot_)com wrote:
=>
=>
=>  >  It seems as if you're talking about composing a reply based on the
=>  >  identity of the received message.
=>  >
=>  >  I've been using a wrapper around "repl" for about 5 years that will parse
=>  >  the original message, match the identity against a list, and populate
=>  >  the reply (From:, Reply-To:, Fcc:, signature) as needed.
=>  >
=>  >  I'm happy to contribute this code (perl) to the list.
=>  >
=>  >  Mark
=>
=>  Does your extension do anything about the mime and attachments problem when 
you reply to those ?

I try to do a little--tiny--bit of MIME handling:

        check for a "text/html" part
        check for "application/*" parts

        if either is found, use:
                /usr/bin/mhshow -type text -type multipart -type message 
-nopause -nomoreproc
        to attempt to create a 'clean' message as the basis for the
        reply

this is semi-successful, crude, and far from universal.

Since the default way of doing the repl is basically broken for mime messages I 
would be interested in
your "crude" solution.
Guess it will take a while before better mime handling is implemented.

Andreas



Mark

=>  E.g. when you reply to mail with an attachment you will get everything 
quoted in your reply mail
=>  .
=>
=>  Andreas
=>
=>
=>  Verizon Deutschland GmbH - Sebrathweg 20, 44149 Dortmund, Germany - 
Amtsgericht Dortmund, HRB 14
=>  952 - Geschäftsführer: Detlef Eppig - Vorsitzender des Aufsichtsrats: 
Dominique Gaillard
=>
=>
=>
=>  _______________________________________________
=>  Nmh-workers mailing list
=>  Nmh-workers(_at_)nongnu(_dot_)org
=>  https://lists.nongnu.org/mailman/listinfo/nmh-workers
=>
=>



Verizon Deutschland GmbH - Sebrathweg 20, 44149 Dortmund, Germany - Amtsgericht Dortmund, 
HRB 14952 - Geschäftsführer: Detlef Eppig - Vorsitzender des Aufsichtsrats: 
Dominique Gaillard



_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>