LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-04-2015, 08:02 AM   #1
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,107

Rep: Reputation: Disabled
KMail: Cleaning up old emails


Now the New Year is here, its time for some spring cleaning of my system. I've archived my email folders, but does anyone know if there's a quick way of deleting old messages - say more than 12 moths old - from all kmail's folders, without having to go through them manually?

I'm sure there must be a way of doing this, but I haven't been able to find it so far. What am I missing here?

TIA,

--
Pete
 
Old 01-04-2015, 11:33 AM   #2
bosth
Member
 
Registered: Apr 2011
Location: British Columbia, Canada
Posts: 304

Rep: Reputation: 127Reputation: 127
One way is to search for all messages with a Date before 2014-01-01 and then click the Open Search Folder button. You can then select and delete all the matches.
Attached Thumbnails
Click image for larger version

Name:	shot.png
Views:	72
Size:	58.2 KB
ID:	17274  
 
Old 01-04-2015, 12:16 PM   #3
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,107

Original Poster
Rep: Reputation: Disabled
That sounds exactly what I'm looking for! But when I tried it, I got an error message:
Code:
Can not get search result. Only resources can modify remote identifiers
Ever helpful, KMail error messages....!



--
Pete
 
Old 01-10-2015, 06:13 PM   #4
bl0tt0
Member
 
Registered: Aug 2005
Location: The Glorious People's Republic of Austin
Posts: 178

Rep: Reputation: 62
Just a thought, but you might be able to use the Expiry function in the right click menu to do what you want. Just set it to expire read and unread articles after after 365 days, and set the folder to expire them to to be the trash. It still requires running the function on each folder, but it's a lot easier than searching through each folder.
 
1 members found this post helpful.
Old 01-12-2015, 12:25 PM   #5
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,107

Original Poster
Rep: Reputation: Disabled
bl0tt0: Thanks for that suggestion - it worked a treat! Yes, its a pain having to do each folder individually (I have a lot of folders!), but its far better than having to do each message individually!

There are things I love about KMail, and equally things I hate! But I have yet to find anything else that meets my needs better!

Cheers,

--
Pete
 
  


Reply

Tags
kmail


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How can I move my Kmail emails to Outlook? coolgy768 Linux - Software 4 01-13-2009 04:34 AM
kmail - emails missing wongdg Linux - Software 1 08-05-2008 10:02 AM
Saving all my emails-KMail bobbelfield Mandriva 2 04-24-2006 07:06 AM
Viewing emails in KMail aikidoist72 Linux - Software 2 03-10-2005 08:33 PM
Will Kmail auto check for emails? Stevetgn Linux - Software 2 01-05-2005 06:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:56 PM.

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