LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-01-2007, 11:19 PM   #1
elyk
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 241

Rep: Reputation: 49
Programs to edit received mail?


I'm looking for a mail client or a similar tool that will let me edit my received messages. The mail account is on an IMAP server and it has a quota. I'd like to be able to convert HTML to plain text, remove large signature blocks, etc. and save the messages back to the server so that I can free up part of my quota. Do you have any suggestions?
 
Old 02-02-2007, 01:47 AM   #2
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Rep: Reputation: 31
unless you have an extremely small quota, the space you could gain by editing the text of messages is minimal. even if to remove 80% of the text in each message, you would need to edit a very large number of messages before you free up any considerable disk space, as email messages are stored as plain text (=>1 character=1 byte). The header of a received message is often qite long as well (example: in a message of 3153 bytes, 2897 is the header)

Deleting attachments, on the other hand can potentially free up lots of space. I believe most clients can help you with removing these from the messages.
 
Old 02-02-2007, 11:11 AM   #3
elyk
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 241

Original Poster
Rep: Reputation: 49
That's true, but I'm thinking I can free up at least 1/3 of the space by removing Outlook's crappy attempt at HTML:
Code:
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
That right there is excessive formatting for a non-printing character, and I wouldn't be surprised to see lines like these taking up at least half of the message size.
 
Old 02-02-2007, 04:23 PM   #4
Quigi
Member
 
Registered: Mar 2003
Location: Cambridge, MA, USA
Distribution: Ubuntu (Dapper and Heron)
Posts: 377

Rep: Reputation: 31
Quote:
Originally Posted by elyk
I'm looking for a mail client or a similar tool that will let me edit my received messages.
I use vm as my mail client. (It's an (x)emacs mode; I think it stands for Virtual Mail.) It can retrieve your mail from an IMAP server, and key 'e' lets you edit any message you received. You seem interested in putting the edited message back on the server, and I don't know if it can do that. In normal use it gets the mail from one or many servers (and other sources) to your local machine, where you peruse and store it.
 
Old 02-03-2007, 12:06 PM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Post 1200

Since IMAP lets you move e-mails around on the server, it should let you put edited mails BACK on the server. Never tried to actually do this, just speaking theoretically.

What a great idea! I'll have to check this out.

BTW, KMail's "Disconnected IMAP" account type may be useful for this. I have used it to back up an account on/from a dying server, but haven't got a replacement server to restore to, yet.
 
Old 02-03-2007, 12:11 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Not sure of the motivation here.....storing things on your own local hard drive(s) will always be the cheapest form of storage.

Do you need a large volume of e-mail stored so you can access it from multiple sites?
 
  


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
Mail Can't be received using postfix on fedora core 2 bpandey Linux - Networking 0 09-09-2004 10:46 AM
Postfix removing received mail :( slimak Linux - Networking 1 08-02-2004 01:57 AM
Wrong 'From' address on mail received from sendmail pioniere Linux - General 2 05-21-2004 03:41 PM
Ok, i have just received distros in mail, now wich one? Optyx Linux - Newbie 1 01-18-2004 01:56 AM
KDE edit programs automatically started on startup qwijibow Linux - Newbie 2 08-20-2003 08:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:05 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