Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to download mails (batch download) i have in the "sample" folder from my yahoo mail to local folder.

any command-line client for downloading mails from mail?


share|improve this question
up vote 1 down vote accepted

there are a lot of tools that can do this, some can both, imap and pop3, some are limited to pop3 or imap.

for example take a look at getmail: (in standard repo (xubuntu 13.1 is getmail4)

another one is "offlineimap" that can copy mails from a imap server to a local dir:

hope this helps!

share|improve this answer
Thanks, i used getmail and IMAP protocol to download my mails :* – moontoise Feb 11 '14 at 16:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.