From ed66aeb5976be84e0f37955f2ddca14d56c0524d Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 23 Mar 2022 11:08:02 +0100 Subject: [PATCH 1/1] explicitly specify imap_command --- .offlineimaprc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.5