Re: New version of mutt folds subject lines, and Outlook doesn't nicely unfold
Michelle:
A script is sending out a message. Cron calls scripts, and my scripts use
mutt. And long subjects *do* fold. We discussed this earlier this week and
bug #2995 has been opened for it (see the bug for extensive discussion).
Apparently folding happens for messages that have a subject longer than 76
characters. I went into the code, changed that to 200, recompiled, and I'm
now good. The long-term fix is to change wrapping from <TAB>CRLF to just
CRLF. How to unwrap improperly wrapped messages is still somewhat open to
debate.
Frank
-----Original Message-----
From: owner-mutt-users@xxxxxxxx [mailto:owner-mutt-users@xxxxxxxx] On Behalf
Of Michelle Konzack
Sent: Wednesday, November 28, 2007 6:22 PM
To: mutt-users@xxxxxxxx
Subject: Re: New version of mutt folds subject lines, and Outlook doesn't
nicely unfold
Am 2007-11-25 20:46:25, schrieb Frank Bulk:
> I'm new to this list but searched the archives (and Google) and was unable
> to find an answer.
>
> We were using 1.4.1i, but upgraded to 1.5.17 to take advantage of
> wildcard-based file attaching. As a result of that change we see that
> command-line based emails that cron is sending out now are folding the
> lines.
Who is sending out?
Cron does not use mutt and I have never seen folded subjectlines in a
cron message. -- Even if the commandline was 1000 Bytes long...
> For example, what was:
> Subject: A DSL modem belonging to username 'username' is constantly
> reconnecting (112 times)
> in the headers is now:
> Subject: A DSL modem belonging to username 'username' is constantly
> reconnecting (112 times)
Do you use a script and inside the script you use mutt?
I think, there are better and faster ways to send out messages.
sendmail -t <<EOF
To: root@localhost
From: Cron <root@localhost>
Subject: A DSL modem belonging to username 'username' is constantly
reconnecting (112 times)
Date: $(date -rfc-822)
Message-Id: ...
Mime-Version: ...
...
EOF
Thanks, Greetings and nice Day
Michelle Konzack
Tamay Dogan Network
Open Hardware Developer
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSN LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)