Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So, once you have your archive with getmail, how do you read/forward/reply to the messages?
As the OP has yet to even respong to any of the further suggestions, it's difficult to answer.
However the OP only stated they wanted to read and/or search the emails offline. No indication of replying/forwarding. Heck, I do that now with my offline mail retrieved via getmail using grep and emacs.
As the OP has yet to follow up other than ask "how," your question can not be answered. They don't state what client they are using otherwise. So to suggest to them as others have to use Thunderbird... what if that OP doesn't like TB? At this point the suggestion is just as useless as suggesting getmail. However, there is a lot more flexibility in the getmail solution than the Thunderbird.
How?
What servername do you enter into the client when asked, when setting up a new account?
What user/pass?
The kind the OP would ask if they follow the getmail suggestion and then not find the mail in Tbird or any usable form.
You don't have to set up an account to open up a mailbox. With that reputation and so many posts I thought you knew that already.
Well, anyway, even without getmail, I think his question has already been answered more than once. I don't see what's wrong with using POP and then placing the mails wherever he wants to.
OK - If I have an arbitrary mailbox on my PC (filled using getmail), how do I access it?
I created a test mailbox on my ISP's mail server and sent it a few random emails.
I then used getmail in simple POP3 mode to put the test emails in a maildir I had created on my PC.
This gave me a number of text files with very long names.
Each one contained some email headers + some occasionally readable text.
How do I access this maildir to view or send any emails?
Any attempts to use Thunderbird don't work.
I'm guessing grep and emacs aren't first on his list of mail reading tools, and the archive won't appear in a client automagically.
And nor did I suggest he do so, use grep and emacs, that is. Just stated something I do, and without knowing the OPs intentions, guesses could be thrown widely.
JeremyBowden, a lot of files with long names? Are you sure you didn't choose a maildir format? If it's an mbox file, copying that file to Thunderbird's Local Folders directory is enough for it to work for me.
The GUI in Evolution isn't all that pretty, but it allows me to archive emails (in a variety of formats, including maildir).
More to the point, it allows me to forward (etc) archived emails in the same way as any other emails.
I'm not sure if this would suit the OP - but it allows me to archive my email.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.