Autorefresh with multiple accounts

Klaus Umbach treibholz-offlineimap at sozial-inkompetent.de
Tue Feb 2 07:24:21 UTC 2010


Hello list,

I want to use autorefresh with multiple accounts. This "just doesn't work"
if I say "-a Personal" or "-a Work" autorefresh works fine, but when I use
"-a Work,Personal", it just uses Personal. What could I have doen wrong
here?

attached you find my .offlineimaprc.

Cheers
	Klaus
-------------- next part --------------
# Sample minimal config file.  Copy this to ~/.offlineimaprc and edit to
# suit to get started fast.

[general]
accounts = Work,Personal
ui = Noninteractive.Basic
#ui = MACHINE.MACHINEUI
holdconnectionopen = yes
metadata = ~/.offlineimap
pythonfile=~/.MyConfigs/offlineimap.py
fsync = false
autorefresh = 1

[mbnames]
enabled = yes
filename = /tmp/muttrc.mailboxes
header = "mailboxes " 
#peritem = "+%(foldername)s"
peritem = "+%(accountname)s/%(foldername)s" 
sep = " " 
footer = " /var/mail/user1\n" 


[Account Work]
localrepository = Work-Local
remoterepository = Work-Remote
maxconnections = 1
autorefresh = 1
quick = 10

[Account Personal]
localrepository = Personal-Local
remoterepository = Personal-Remote
maxconnections = 1
autorefresh = 1
quick = 10



[Repository Personal-Local]
type = Maildir
restoreatime = no
sep = /
localfolders = ~/Maildir/Personal

[Repository Work-Local]
type = Maildir
restoreatime = no
sep = /
localfolders = ~/Maildir/Work

[Repository Personal-Remote]
type = IMAP
ssl = yes
remotehost = host2
remoteuser = user2
remotepass = pass1
maxconnections = 1
holdconnectionopen = yes
folderfilter = myfolders

[Repository Work-Remote]
type = IMAP
ssl = yes
remotehost = host1
remoteuser = useer1
remotepass = pass1
maxconnections = 1
holdconnectionopen = yes
folderfilter = myfolders



More information about the OfflineIMAP-project mailing list