Deleting all mails in the N900 (Maemo 5) permanently

2011-06-14 332 words 2 mins read

Well couple of days back, I checked the folder details of one of my accounts configured on the N900 (Maemo 5) and it was showing some 1000 or more emails, whereas I had only 4-5 emails in the Inbox so where are the other emails and how to I get rid of them. This was causing the mail application to become a little slower than usual so do I live with it, I decided not to do so and thus found out how to delete all the mails.

For a handheld, I use the mail only to get the mails and reply them immediately. I do not keep the mails for future 🙂 . If you are one of my kind then you can follow on but if you want to keep any of the mails then DO NOT FOLLOW.

Open a terminal, and then do the following:

  <td>
    <div class="text codecolorer">
      cd ~/.modest/cache/mail/pop/<br /> <br /> cd <pop account directory><br /> <br /> rm -f summary.mmap<br /> <br /> cd cache<br /> <br /> rm -fr *
    </div>
  </td>
</tr>
1
2
3
4
5
6
7
8
9

Once again, note that this will delete ALL the emails and not just selective ones, so be careful.

Remeber not to delete the other files…

And if you are lazy just like me then you can copy paste the below script and run it from terminal whenever you want 🙂

  <td>
    <div class="text codecolorer">
      cd /home/user/.modest/cache/mail/pop/<br /> for i in *<br /> do<br /> cd $i<br /> pwd<br /> rm -rf cache/*<br /> rm -fr summary.mmap<br /> cd -<br /> done
    </div>
  </td>
</tr>
1
2
3
4
5
6
7
8
9

🙂

Enhanced by Zemanta


author

Authored By Amit Agarwal

Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.

We notice you're using an adblocker. If you like our webite please keep us running by whitelisting this site in your ad blocker. We’re serving quality, related ads only. Thank you!

I've whitelisted your website.

Not now
This website uses cookies to ensure you get the best experience on our website. Learn more Got it