[ David Champion Wrote On Tue 27.Nov'12 at 10:18:32 GMT ]

> * On 25 Nov 2012, Jamie Paul Griffin wrote: 
> > > 
> > > In the end the new version of the message is generated by formail, so
> > > it's subject to formail's limitations, if it has any.  (I don't know of
> > > any.)  It would be possible to update the python script to handle the
> > > rewrite with python core modules instead of depending on formail.  Maybe
> > > that's worth a try.
> > ...
> > I am using mbox for all folders currently. I will send the mail to you 
> > off-list. 
> 
> I took at look at the messages you sent, and was able to reproduce the
> problem with one of them but not the other.  It's not clear to me why
> it's happening from within mutt.  From without, it works fine.  The
> script runs formail using os.popen2 -- which is deprecated, and causes
> an annoying deprecation warning too.  This could be entangled in the
> problem.
> 
> I changed the script to use python's email module instead of calling out
> to formail (which was a quick hack when I wrote this last week).  It
> seems to work fine now.
> 
> It also deals with the mbox/maildir (potential) problem, by writing in
> mbox format only when the input was in mbox.

David thank you very much indeed, it works beautifully. I really
appreciate you giving up your time to create it and modify it. I'm sure
it will be prove useful to plenty of people. 

Best wishes, Jamie

Reply via email to