From: martin f. krafft Date: Wed, 23 Mar 2022 10:08:02 +0000 (+0100) Subject: explicitly specify imap_command X-Git-Url: https://git.madduck.net/etc/offlineimap.git/commitdiff_plain/ed66aeb5976be84e0f37955f2ddca14d56c0524d?ds=sidebyside explicitly specify imap_command --- diff --git a/.offlineimaprc b/.offlineimaprc index 83db810..ad8b0c8 100644 --- a/.offlineimaprc +++ b/.offlineimaprc @@ -40,7 +40,8 @@ type = IMAP maxconnections = 5 holdconnectionopen = yes ssh_host = madduck-net.imap.madduck.net -preauthtunnel = exec ~/.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 = exec ~/.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