X-Git-Url: https://git.madduck.net/etc/offlineimap.git/blobdiff_plain/90d274b08e16272fa7cf2ae1e2e6db9164639253..741c74bb6415a8559e379bd4510c4cb5817a7f47:/.offlineimaprc diff --git a/.offlineimaprc b/.offlineimaprc index 0234271..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