Here is a template for syncing one IMAP account named "Work": [general] accounts = Work [Account Work] localrepository = WorkLocal remoterepository = WorkRemote [Repository WorkLocal] type = Maildir localfolders = ~/mail/Work [Repository WorkRemote] type = IMAP remotehost = (IMAP SERVER) ...