Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I run an internal mail server which I make nightly backups of. I want to also make backups of 3rd party email accounts such as Gmail and Hotmail. I know that both these services have access via POP/IMAP, but is there an easy way to grab messages from the commandline and back them up as with normal Maildir format files?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Someone heard about the google debacle. :-)
Every service that has POP or IMAP, can be backed up by using fetchmail in Maildir-format.

This is a very nice tutorial: wains.be

share|improve this answer
    
Cheers :)...... –  Jay White Feb 28 '11 at 23:10
    
Quick question, can I download via imap, and can I download only inbox and sent folders and exclude certain labels? –  Jay White Mar 1 '11 at 0:51
    
Someone wrote a script for getmail (alternative to fetchmail) that should do the trick. propertymaps.com/blog/technical/… –  Bart De Vos Mar 1 '11 at 7:40
add comment

Your Answer

 
discard

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.