diff options
author | root <root@jellyfish> | 2012-08-28 08:13:53 +0200 |
---|---|---|
committer | root <root@jellyfish> | 2012-08-28 08:13:53 +0200 |
commit | cb200d81d694de06fe4a6b0eea164f8b8dfb7f14 (patch) | |
tree | ad2206cbda2ad8b3301e59e70bff32cac0e08ea9 /offlineimap/offlineimaprc.example | |
parent | 9476656f209150e3d687650e24ef210b14f0d953 (diff) |
Improve skeleton offlineimap user config.
Diffstat (limited to 'offlineimap/offlineimaprc.example')
-rw-r--r-- | offlineimap/offlineimaprc.example | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/offlineimap/offlineimaprc.example b/offlineimap/offlineimaprc.example index 0c5ed5e..9133516 100644 --- a/offlineimap/offlineimaprc.example +++ b/offlineimap/offlineimaprc.example @@ -3,19 +3,23 @@ accounts = Main pythonfile=/etc/local-COMMON/offlineimap/offlineimap.py [Account Main] -localrepository = Local -remoterepository = Remote +localrepository = Main-here +remoterepository = Main-there -[Repository Local] -type = Maildir -localfolders = ~/Maildir +#[Repository Main-here] +#type = Maildir +#localfolders = ~/Maildir +[Repository Main-here] +type = IMAP +preauthtunnel = /usr/lib/dovecot/imap 2>/dev/null +holdconnectionopen = yes -[Repository Remote] +[Repository Main-there] type = IMAP -preauthtunnel = ssh -C -q jonas@mail.jones.dk '/usr/local/bin/localimap' +preauthtunnel = ssh -C -q jonas@mail.jones.dk /usr/lib/dovecot/imap 2>/dev/null # Mimic dovecot Maildir setup: Add leading dot to all folders but INBOX -nametrans = lambda foldername: re.sub('^\.INBOX$', '.', '.' + foldername) +#nametrans = lambda foldername: re.sub('^\.INBOX$', '.', '.' + foldername) -# Avoid Trash, Junk and other non-important folders -folderfilter = lambda foldername: foldername not in imapnoise +# Ignore odd folders +folderfilter = most |