0n Wed, Feb 17, 2010 at 10:58:06AM +0000, Chris G wrote: >On Tue, Feb 16, 2010 at 05:46:58PM -0500, Chuck Smith wrote: >> This is my first week of using MUtt and so far I love it! I have been >> doing a lot of reading and configuring and clearly can see the power of >> the Mutt. >> >> I have a interesting displying issue that I would like to sort out but it >> appears to only come from my one persons e-mail address from MS Exchange >> 6.5 Mailer. For some reason, other than its Microsoft, the is a character >> ( ^M ) at the end of each line. I am assuming it is a hard return. I have >> saved the message in a text file (US-ASCII) and the characters do not >> exist. >> >> I am curious where this character comes from and if there is any way to >> have Mutt hide it or filter it out. >> >The character that shows up as ^M is a Carriage Return, Microsoft's >conventional line ending is Carriage Return *and* Linefeed whereas >Unix/Linux and all related systems use only Linefeed to terminate lines. > >Usually the ^M characters get filtered out along the way but obviously in >this one case that's not happening. > >I seem to remember there is a mutt workaround to make the ^M disappear but >someone else will have to enlighten you on that front.
if using procmail you could add a rule as such: :0 fw * ^1^ \r\n * ? which dosunix >/dev/null 2>&1 |/usr/local/bin/dosunix -Alex IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email.