X-Git-Url: https://git.madduck.net/etc/offlineimap.git/blobdiff_plain/a97cc198421e75404afe53533ead1278df1f96b1..refs/heads/master:/.offlineimaprc?ds=inline diff --git a/.offlineimaprc b/.offlineimaprc index bcc8bbc..ad8b0c8 100644 --- a/.offlineimaprc +++ b/.offlineimaprc @@ -40,7 +40,8 @@ type = IMAP maxconnections = 5 holdconnectionopen = yes ssh_host = madduck-net.imap.madduck.net -preauthtunnel = .offlineimap/preauthtunnel.sh %(ssh_host)s +imap_command = MAIL=$HOME/.maildir /usr/lib/dovecot/imap 2>/dev/null +preauthtunnel = exec ~/.offlineimap/preauthtunnel.sh %(ssh_host)s %(imap_command)s expunge = yes foldersort = py_foldersort_main nametrans = py_nametrans @@ -51,7 +52,8 @@ type = IMAP maxconnections = 1 holdconnectionopen = no ssh_host = madduck-net.imap.madduck.net -preauthtunnel = .offlineimap/preauthtunnel.sh %(ssh_host)s +imap_command = MAIL=$HOME/.maildir /usr/lib/dovecot/imap 2>/dev/null +preauthtunnel = exec ~/.offlineimap/preauthtunnel.sh %(ssh_host)s %(imap_command)s expunge = yes folderfilter = py_folderfilter_bulk foldersort = py_foldersort_main