You are not logged in.

#1 2011-07-01 18:31:13

sfabius
Member
Registered: 2007-07-07
Posts: 153

[SOLVED] offlineimap finds folders but no messages

I've recently been trying to set up offlineimap to sync between my laptop on which I use mutt and an imap/exchange server from work. I have used getmail for a long time but would like to have things stay on the server so I can use it with other mobile devices when I'm not on my laptop.

The problem is that offlineimap doesn't get the actual emails. I tried it with emails on the server and a totally empty directory locally, and offlineimap created directories ( the the cur/new/tmp for maildir) but there are no email. I can see from the web interface that there are emails on the server.

Here are my offlineimaprc and the debug output from " offlineimap -d imap -1". usernames and passwords have been removed.

Debug: http://pastebin.com/tE7J1zXw

offlineimaprc:

[general]
metadata = ~/.offlineimap
accounts = Pitt
maxsyncaccounts = 1
ui = Noninteractive.Basic
#ui = Blinkenlights
ignore-readonly = no
socktimeout = 60

[mbnames]
enabled = no
filename = ~/Mutt/muttrc.mailboxes
header = "mailboxes "
peritem = "+%(accountname)s/%(foldername)s"
sep = " "
footer = "\n"

[ui.Curses.Blinkenlights]
statuschar = .

[Account Pitt]
localrepository = LocalPitt
remoterepository = RemotePitt
maxage = 14

[Repository LocalPitt]
type = Maildir
localfolders = ~/Mailtest
#localfolders = ~/work/Mail
sep = /
restoreatime = no

[Repository RemotePitt]
type = IMAP
remotehost = exchange.pitt.edu
ssl = yes
remoteport = 993
remoteuser = <username>
remotepass = <password>
maxconnections = 1
holdconnectionopen = no
subscribedonly = no
readonly = False

Last edited by sfabius (2011-07-06 15:59:14)

Offline

#2 2011-07-06 15:58:42

sfabius
Member
Registered: 2007-07-07
Posts: 153

Re: [SOLVED] offlineimap finds folders but no messages

Solved: Use more recent version. I recommend using offlineimap-git. See comments for getting to the "next" tree.

Offline

Board footer

Powered by FluxBB