LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-02-2008, 03:15 PM   #1
cambie
Member
 
Registered: Jul 2004
Posts: 90

Rep: Reputation: 15
email received with =20 at end


Can anyone tell me what's going on here? I've got a client that's sending an email from a windows system that is a set of data in text format that's sometimes has an empty tab/space character at the end to represent a null set. Every line like this has an "=20" at the end and the line breaks are getting all messed up...so it's difficult to even replace all the =20's with the proper tab character or whatever.

Any idea how to prevent the email from getting broken up like this? I thought at first it was a windows to linux thing, but dos2unix does nothing to my file.

This is with Sendmail 8.14.0 on a Redhat 4.0 box by the way.
 
Old 01-03-2008, 08:03 AM   #2
rupertwh
Member
 
Registered: Sep 2006
Location: Munich, Germany
Distribution: Debian / Ubuntu
Posts: 297

Rep: Reputation: 49
What you are seeing is Quoted-printable encoding. (And the fact that you see it means that either the sending or the receiving mail client is broken.)
But you should be able to clean it up with a simple search/replace. Maybe the mangled line breaks are soft breaks? (See the linked article.)
 
Old 01-03-2008, 08:56 AM   #3
cambie
Member
 
Registered: Jul 2004
Posts: 90

Original Poster
Rep: Reputation: 15
Thanks, that gets me a step closer. I found an online convert for qp encoded text, and that seems to convert it. But ideally, I'd like to stop it from happening in the first place. Any idea on that?

I'm pretty sure the email is coming from Microsoft Outlook on the windows system. I can recreate it from my laptop using Outlook and it happens every time. Is there a way to tell Outlook to stop using qp encoding? on the linux end, I'm just viewing it using the mail command.
 
Old 01-03-2008, 12:40 PM   #4
rupertwh
Member
 
Registered: Sep 2006
Location: Munich, Germany
Distribution: Debian / Ubuntu
Posts: 297

Rep: Reputation: 49
Well, you might get Outlook to not send quoted-printable, but that's not necessarily a good thing. QP is there for a reason as it will protect your mail from possibly being mangled by any server it passes through.

Better would be to find out why your client doesn't decode or, if it doesn't do so by design, run the mails through a decoder yourself.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Archiving both received and sent email? neocookie Linux - Server 3 09-26-2007 09:13 AM
Made Username Same As Email Address - Much Spam Received razor813 LQ Suggestions & Feedback 20 07-20-2007 05:02 AM
0 replies email not received today ... minrich LQ Suggestions & Feedback 11 12-04-2005 11:29 PM
Email Server Front-end kmccarn Red Hat 1 07-26-2005 06:59 AM
run script when email is received Syncrm Linux - General 10 04-20-2003 04:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration