Multiple Accounts
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
I hope this is the correct mailing list address as when I signed up I
was not given an address to post to and the archives show the domain
blanked out so I have had to wait till someone posted.
I am trying to set up offlineimap to sync 2 different accounts on the
same server. I have managed to setup one account to sync locally with no
problem but the 2nd one creates a problem. I'm not certain if I have the
[mbnames] section setup properly.
The relevant portion of offlineimaprc is as below
##################################################
# General definitions
##################################################
[general]
metadata = ~/.offlineimap
accounts = Joseph,John
maxsyncaccounts = 1
ui = Curses.Blinkenlights, Tk.VerboseUI, Tk.Blinkenlights, TTY.TTYUI,
Noninteractive.Basic, Noninteractive.Quiet
ignore-readonly = no
########## Advanced settings
# pythonfile = ~/.offlineimap.py
##################################################
# Mailbox name recorder
##################################################
[mbnames]
enabled = yes
filename = ~/Mutt/muttrc.mailboxes
header = "mailboxes "
peritem = "+%(accountname)s/%(foldername)s"
sep = " "
footer = "\n"
##################################################
# Blinkenlights configuration
##################################################
[ui.Curses.Blinkenlights]
loglines = 5
bufferlines = 500
showlog = false
fontfamily = Helvetica
fontsize = 8
##################################################
# Accounts
##################################################
[Account Joseph]
localrepository = JosephLocal
remoterepository = JosephRemote
# It defaults to ".". If you want your Maildir folders to be
# nested,
# set it to "/".
#sep = .
[Repository JosephLocal]
type = Maildir
localfolders = ~/RemoteMail/Joseph
[Repository JosephRemote]
type = IMAP
remotehost = xxxxxxxxx.net
ssl = yes
remoteuser = joseph
remotepass = xxxxxxxxxx
[Account John]
localrepository = JohnLocal
remoterepository = JohnRemote
[Repository JohnLocal]
type = Maildir
localfolders = ~/RemoteMail/John
[Repository JohnRemote]
type = IMAP
remotehost =xxxxxxxxx.net
ssl = yes
remoteuser = john
remotepass = xxxxxxxxxxx
The error I get is:-
Thread 'Account sync John' terminated with exception:
Traceback (most recent call last):
File "/var/lib/python-support/python2.4/offlineimap/threadutil.py",
line 153, in run
Thread.run(self)
File "threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File
"/var/lib/python-support/python2.4/offlineimap/accounts.py",
line 113, in syncrunner
self.sync()
File
"/var/lib/python-support/python2.4/offlineimap/accounts.py",
line 133, in sync
remoterepos.syncfoldersto(localrepos)
File
"/var/lib/python-support/python2.4/offlineimap/repository/Base.py",
line 124, in syncfoldersto
dest.makefolder(key)
File
"/var/lib/python-support/python2.4/offlineimap/repository/Maildir.py",
line 77, in makefolder
os.makedirs(foldername, 0700)
File "os.py", line 159, in
makedirs
mkdir(name, mode)
OSError: [Errno 17] File
exists: '.'
Looking at the local directory the mailboxes for Joseph have been
created OK with an INBOX prefix but the mailboxes for John do not have
that prefix and are also not all there.
I am now stuck as to where to go from here. Any help welcome
Sorry for the long post
--
It is often safer to be in chains than to be free.
Joseph K
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Multiple Accounts,
Joseph <=
|
|