import of mail folders by Thunderbird - thunderbird

My company is no longer supporting our Linux mail server (all will be handled by gmail).
Over the years I've run many mail clients on the Linux server: elm, alpine, squirrelMail, roundCube. My most recent client has been RoundCube.
Ideally I'd like Thunderbird to import the most current folders from RoundCube; these appear to me to be inside Maildir/ (with deeper directories like .saved-mailed, etc). But I also have Mail/ (which alpine appears to reference).
But upon adding this account to Thunderbird, some mix of folders is presented to me: not all from Maildir/ and not all from Mail/...in fact no 'new' Roundcube folders are presented.
Where does Thunderbird search on a linux mail server to 'subscribe' folders? And how can I access this location to force the subscription of the folders I actually want?

I gave up trying to determine where Thunderbird (Tb) searches for mail.
Instead I copied all Roundcube email in Maildir/ to my local machine and then used the code here
https://gist.github.com/lftbrts/249f034a439d3eb2e008f73506cacc2d
to convert that email to mbox format.
Then I copied all that converted email to Tb's 'Local Folders' directory; Tb was able to load all the converted folders and then I 'dragged' them (using Tb) to the synced Gmail account.
So the above named coded saved the day!

Related

Script to add secondary mail accounts

I would like to realize a PowerShell script which add additional generic IMAP/SMTP mail account(s), ie manually adding credentials, server names, ports, security methods, etc.
Such script should be "client-agnostic", so add the above informations onto MSOutlook or WindowsMail or ThunderBird depending on what desktop client is locally installed.
Currently I haven't found any module/cmdlet yet, but only codes specific for Exchange or MAPI such Gmail.

mutt + offlineimap and only few folder offline

I have been trying to understand offlineimap with mutt configuration but I probably do not. In the end, I realised that what i need is to have offline only e.b. Inbox and Sent. That configuration one can find on internet but I also need to be able to access the other folders in mutt but without having to download them offline.
E.g.
I want all mails in Inbox to be downloaded offline to the computer and mutt accessing them from the local repository. But I also need to access folder Inbox/SomeMore but without having to reconfigure mutt and offlineimap and most importantly without donwloading the whole content of that folder to the computer.
Is this doable? And exactly how?
offlineimap's job is to download mails and make them available in offline situations. There is no way to temporary download the content of some mail folders. It might be possible to go for a hacky solution. Specify the folders you don't want to sync with the folderfilter option and additionally set up mutt to access the other IMAP folders.
You can specify a folder filter that excludes specific folders. Instead of adding the subfolder's name to the list it might be even possible to exclude it like this INBOX/foo (in case of having multiple folders with the same name):
folderfilter = lambda folder: folder in ['INBOX', 'Sent', 'Drafts', 'Junk', 'foo', ...]
PS: If folderfilter is not specified at all, ALL remote folders will be synchronized.

Outlook Office 365 IMAP Folder not syncing with server

I have tried moving a folder from one mail address to another.
Both mail addresses are accessed using IMAP through 1and1.
I am running Office 365 version 15.0.4787.1002
I have added both account to outlook (info#domain1.uk and info#domain2.uk)
Now I have then dragged across the folder structrue from info#domain1.uk to info#domain2.uk.
This simply copied across the folder structure and none of the emails. So I then manually dragged all email files across to each relevent folder as well.
Now, locally in my outlook all the emails are in the correct place. However, to test i logged into the 1and1 webmail portal.
Now the emails have been removed from the first account but do not appear in the second account?
Am I missing something here to tell the account to sync the newly created folder?
Hi Seeing this on some clients , some where i fond a fix ,
basically on 1and1 you have a send items and sent messages folders and outlook just picks one of them ...
what i did was logon to 1and1 web mail pick sent message and create a sub folder "thisone" then in outlook re-sync see it shows up. if not your syncing the sent item folder, if it does its the sent messages folder , on 1and1 move all emails to the right folder . witch will the sync to outlook
hope this helps
g...

Mail client that can handle large mailboxes (thunderbird)

So i got thunderbird handeling all my mail. Have some extensions for copying and removing duplicated mails.
But now i got even larger mailboxes. They have about 100K mails with or without attachments.
And if i copy the mail from the server to the local folders i get the following message:
"The xxxx folder is full and can not contain any incoming messages. Delete old or unwanted mail and compact the folder to make room for more messages."
I thought this was an old message or a message if youre disk is formatted in fat32 (Can't handle files over 4gb)
So what limit am i reaching or what can i do to copy these folders from the server to the local folders.
I googled it but i keep going in cycles and can't find a solution.

Dump an IMAP Mailbox to a local folder

I need to dump IMAP mailboxes from an IMAP server.
I would like to replicate IMAP folders structure on a specific path.
I would like to dump all emails and sub-folders (and then "sub-emails"), but in a filesystem.
Emails in EML format and, foreach one, a file (MAIL1.EML, MAIL2.EML, etc)
IMAP folder as... folders!
I tried getmail but it does not work as expected (i don't want the qmail-style Maildir...)
Any solution?
The solution i found myself is to use the amazing google library imaputils
https://code.google.com/p/imaputils/
This library have the "iu-dump" utility that make exactly what i am searching about