You are not logged in.

#1 2010-01-03 02:13:53

gogi-goji
Member
From: Canada
Registered: 2009-10-20
Posts: 73
Website

OfflineIMAP troubles

I'm trying to set up offlineimap for use with alpine, gmail, and multiple accounts, and am having trouble with one of my accounts.

If I open the inbox of my personal mail folder, I see no emails, but all emails are present if I navigate to the All Mail folder.  For my net mail folder, everything works as expected, and emails are present in my inbox.

I assume this is caused by a missing file, as shown here:

$ ls -a ~/.mail/net/INBOX/
.  ..  cur  new  tmp  .uidlast.0000000006.1262480010
$ ls -a ~/.mail/personal/INBOX/
.  ..  cur  new  tmp

Note that cur, new, and tmp are directories in both folders, and .uidlast... is a file.

Resyncing with

$ offlineimap -o

does not solve the problem.

My ~/.offlineimaprc:

[general]
metadata = ~/.offlineimap
# The different accounts we will be using
accounts = personal,net
# Sync more than one account
maxsyncaccounts = 4
# Give up if no connection in 60 seconds 
socktimeout = 60
# Set the user interface
ui = TTY.TTYUI

[Account personal]
# Create identifiers
localrepository = local-personal
remoterepository = remote-personal

[Account net]
# Create identifiers
localrepository = local-net
remoterepository = remote-net

[Repository local-personal]
# Where my personal mail is stored on my system
type = Maildir
localfolders = /home/cam/.mail/personal

[Repository local-net]
# Where my net mail is stored on my system
type = Maildir
localfolders = /home/cam/.mail/net

[Repository remote-personal]
# Set up the interface with gmail
type = Gmail
remotehost = imap.gmail.com
remoteuser = personal.email@gmail.com
remotepass = mypass
ssl = yes
realdelete = no

[Repository remote-net]
# Set up the interface with gmail
type = Gmail
remotehost = imap.gmail.com
remoteuser = net.email@gmail.com
remotepass = mypass
ssl = yes
realdelete = no

My (sporadically updated) blog
My miscellaneous dotfiles

Offline

Board footer

Powered by FluxBB