List MAPI Folders

Mark Moore <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
This maybe a question that is already answered, but I can't find it 
through Google or searching https://marc.info/?l=getmail

I can connect to my Office 385 Exchange Server using getmail with the 
following getmailrc file (see below).  I have set mailboxes = ALL, so I 
would expect it to grab all emails from all folders. But, it downloads 
all emails to the "*/mnt/d/Survival Flight/mail/**new*" folder.  It does 
not grab the full set of existing folders (for example Sent).

Is there a way to have getmail list the MAPI folders on the server?  Is 
there a way to have getmail pull all of the emails and folders from the 
server and create them on the path?


#-------------------------------getmailrc-------------------------------
[retriever]
type = SimpleIMAPSSLRetriever
server = outlook.office365.com
port=993
mailboxes = ALL
username = [email protected]
password = xxxxxxxxxxxxxxxxxxx

[destination]
type = Maildir
path = /mnt/d/Survival Flight/mail/

[options]
verbose = 2
message_log = ~/.getmail/log

# retrieve only new messages
# if set to true it will re-download ALL messages every time!
read_all = true

# do not alter messages
delivered_to = false
received = false
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.