On 04.12.12 14:00, Jeremy Kitchen wrote:
> alternatively, you could reformat the mails at receive time through
> a procmail filter or something if you have that kind of access to the
> mail server.

If anyone has a working solution, I'd be interested too. The following
had to be commented out, because folded URLs and code patches weren't
much use:

                                    # This DOES WRECK URLs!
                                    # This can wreck code patches:
#  :0Bbfw                           # Fold long lines (>80 col.) at a space:
#  * ...........................................................................
#  | fold -s
#
#  :0aBfw           # if message was reformatted and it had a "Lines:" header
#  * H ?? ^Lines:
#  * 1^1 ^.*$
#  * -1^0
#  | formail -i "Lines: $="

Perhaps interpose a bit of awk to fold only if it's not a URL? At least
that fixes one case. (And I don't receive many patches these days.)

Erik

-- 
On a clear disk you can seek forever.
                         - P. Denning

Reply via email to