% offlineimap -o -d ALL
OfflineIMAP 7.3.0
Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
imaplib2 v3.05, Python v3.8.6, OpenSSL 1.1.1h 22 Sep 2020
Now debugging for imap: IMAP protocol debugging
Now debugging for maildir: Maildir repository debugging
Now debugging for thread: Threading debugging
Now debugging for : Other offlineimap related sync messages
[thread]: Register new thread 'Account sync madduck.net' (account 'madduck.net')
[imap]: Using authentication mechanisms ['GSSAPI', 'XOAUTH2', 'CRAM-MD5', 'PLAIN', 'LOGIN']
[maildir]: MaildirRepository initialized, sep is '/'
*** Processing account madduck.net
Establishing connection to tunnel:.offlineimap/preauthtunnel.sh madduck-net.imap.madduck.net (madduck.net)
OpenSSH_8.4p1 Debian-2, OpenSSL 1.1.1h 22 Sep 2020
debug1: Reading configuration data .offlineimap/ssh_config
debug1: .offlineimap/ssh_config line 1: Applying options for madduck-net.imap.madduck.net
debug3: expanded UserKnownHostsFile '~/.offlineimap/known_hosts' -> '/home/madduck/.offlineimap/known_hosts'
debug1: auto-mux: Trying existing master
debug1: Control socket "/home/madduck/.var/offlineimap/ssh_ctl_sock" does not exist
debug2: resolving "madduck-net.imap.madduck.net" port 22
debug2: ssh_connect_direct
debug1: Connecting to madduck-net.imap.madduck.net [2001:a60:902f::bcae:fda6] port 22.
debug2: fd 3 setting O_NONBLOCK
debug1: fd 3 clearing O_NONBLOCK
debug1: Connection established.
debug3: timeout: 59710 ms remain after connect
debug1: identity file .offlineimap/madduck-net.imap.madduck.net.ssh-seckey type 3
debug1: identity file .offlineimap/madduck-net.imap.madduck.net.ssh-seckey-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.4p1 Debian-2
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.9p1 Debian-10+deb10u2
debug1: match: OpenSSH_7.9p1 Debian-10+deb10u2 pat OpenSSH* compat 0x04000000
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to madduck-net.imap.madduck.net:22 as 'madduck'
debug3: hostkeys_foreach: reading file "/home/madduck/.offlineimap/known_hosts"
debug3: record_hostkey: found key type ECDSA in file /home/madduck/.offlineimap/known_hosts:1
debug3: load_hostkeys: loaded 1 keys from madduck-net.imap.madduck.net
debug3: order_hostkeyalgs: have matching best-preference key type [email protected], using HostkeyAlgorithms verbatim
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
debug3: receive packet: type 20
debug1: SSH2_MSG_KEXINIT received
debug2: local client KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,ext-info-c
debug2: host key algorithms: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],ssh-ed25519,[email protected],rsa-sha2-512,rsa-sha2-256,ssh-rsa
debug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: [email protected],zlib,none
debug2: compression stoc: [email protected],zlib,none
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1
debug2: host key algorithms: rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519
debug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,[email protected]
debug2: compression stoc: none,[email protected]
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: [email protected]
debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: [email protected]
debug3: send packet: type 30
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug3: receive packet: type 31
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:lOTlgZ5YuFXt7SqKQ4WJWnY2mtDtNr7So3tJtku5gfs
debug3: hostkeys_foreach: reading file "/home/madduck/.offlineimap/known_hosts"
debug3: record_hostkey: found key type ECDSA in file /home/madduck/.offlineimap/known_hosts:1
debug3: load_hostkeys: loaded 1 keys from madduck-net.imap.madduck.net
debug3: hostkeys_foreach: reading file "/home/madduck/.offlineimap/known_hosts"
debug3: record_hostkey: found key type ECDSA in file /home/madduck/.offlineimap/known_hosts:1
debug3: load_hostkeys: loaded 1 keys from 2001:a60:902f::bcae:fda6
debug1: Host 'madduck-net.imap.madduck.net' is known and matches the ECDSA host key.
debug1: Found key in /home/madduck/.offlineimap/known_hosts:1
debug3: send packet: type 21
debug2: set_newkeys: mode 1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug3: receive packet: type 21
debug1: SSH2_MSG_NEWKEYS received
debug2: set_newkeys: mode 0
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: .offlineimap/madduck-net.imap.madduck.net.ssh-seckey ED25519 SHA256:XbZGAVwGDMSBZ7Kw0Ldvc1rs1DQ7VPj/oyZU1EoN5Ms explicit
debug2: pubkey_prepare: done
debug3: send packet: type 5
debug3: receive packet: type 7
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
debug3: receive packet: type 6
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug3: send packet: type 50
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey,password
debug3: start over, passed a different list publickey,password
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering public key: .offlineimap/madduck-net.imap.madduck.net.ssh-seckey ED25519 SHA256:XbZGAVwGDMSBZ7Kw0Ldvc1rs1DQ7VPj/oyZU1EoN5Ms explicit
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 60
debug1: Server accepts key: .offlineimap/madduck-net.imap.madduck.net.ssh-seckey ED25519 SHA256:XbZGAVwGDMSBZ7Kw0Ldvc1rs1DQ7VPj/oyZU1EoN5Ms explicit
debug3: sign_and_send_pubkey: ED25519 SHA256:XbZGAVwGDMSBZ7Kw0Ldvc1rs1DQ7VPj/oyZU1EoN5Ms
debug3: sign_and_send_pubkey: signing using ssh-ed25519 SHA256:XbZGAVwGDMSBZ7Kw0Ldvc1rs1DQ7VPj/oyZU1EoN5Ms
debug3: send packet: type 50
debug3: receive packet: type 52
debug1: Enabling compression at level 6.
debug1: Authentication succeeded (publickey).
Authenticated to madduck-net.imap.madduck.net ([2001:a60:902f::bcae:fda6]:22).
debug1: setting up multiplex master socket
debug3: muxserver_listen: temporary control path /home/madduck/.var/offlineimap/ssh_ctl_sock.InQlgz8c2mIEMoXe
debug2: fd 4 setting O_NONBLOCK
debug3: fd 4 is O_NONBLOCK
debug3: fd 4 is O_NONBLOCK
debug1: channel 0: new [/home/madduck/.var/offlineimap/ssh_ctl_sock]
debug3: muxserver_listen: mux listener channel 0 fd 4
debug2: fd 5 setting O_NONBLOCK
debug2: fd 6 setting O_NONBLOCK
debug1: channel 1: new [client-session]
debug3: ssh_session2_open: channel_new: 1
debug2: channel 1: send open
debug3: send packet: type 90
debug1: Entering interactive session.
debug1: pledge: id
debug3: receive packet: type 80
debug1: client_input_global_request: rtype [email protected] want_reply 0
debug3: receive packet: type 4
debug1: Remote: /home/madduck/.ssh/authorized_keys:23: key options: command user-rc
debug3: receive packet: type 4
debug1: Remote: /home/madduck/.ssh/authorized_keys:23: key options: command user-rc
debug3: receive packet: type 91
debug2: channel_input_open_confirmation: channel 1: callback start
debug2: fd 3 setting TCP_NODELAY
debug3: ssh_packet_set_tos: set IPV6_TCLASS 0x08
debug2: client_session2_setup: id 1
debug2: channel 1: request shell confirm 1
debug3: send packet: type 98
debug2: channel_input_open_confirmation: channel 1: callback done
debug2: channel 1: open confirm rwindow 0 rmax 32768
debug2: channel 1: rcvd adjust 2097152
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 1
debug2: shell request accepted on channel 1
debug3: send packet: type 80
debug3: receive packet: type 82
[…]
debug3: send packet: type 80
debug3: receive packet: type 82
Starting session: forced-command (key-option) 'MAIL=$HOME/.maildir /usr/lib/dovecot/imap 2>/dev/null' for madduck from 2404:130:0:1000:ce46:cc29:f96:533d port 35656 id 0
lotus:~% SSH_AUTH_SOCK= .offlineimap/preauthtunnel.sh madduck-net.imap.madduck.net
* PREAUTH [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY LITERAL+ NOTIFY SPECIAL-USE QUOTA] Logged in as madduck
[…]
debug1: Entering interactive session.
debug1: pledge: id
debug3: receive packet: type 80
debug1: client_input_global_request: rtype [email protected] want_reply 0
debug3: receive packet: type 4
debug1: Remote: /home/madduck/.ssh/authorized_keys:23: key options: command user-rc
debug3: receive packet: type 4
debug1: Remote: /home/madduck/.ssh/authorized_keys:23: key options: command user-rc
debug3: receive packet: type 91
debug2: channel_input_open_confirmation: channel 1: callback start
debug2: fd 3 setting TCP_NODELAY
debug3: ssh_packet_set_tos: set IPV6_TCLASS 0x08
debug2: client_session2_setup: id 1
debug2: channel 1: request shell confirm 1
debug3: send packet: type 98
debug2: channel_input_open_confirmation: channel 1: callback done
debug2: channel 1: open confirm rwindow 0 rmax 32768
debug2: channel 1: rcvd adjust 2097152
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 1
debug2: shell request accepted on channel 1
debug2: channel 1: rcvd ext data 338
Environment:
USER=madduck
LOGNAME=madduck
HOME=/home/madduck
PATH=/usr/local/bin:/usr/bin:/bin:/usr/games
MAIL=/var/mail/madduck
SHELL=/bin/zsh
LANG=en_NZ.UTF-8
LANGUAGE=en_NZ:en
SSH_CLIENT=2404:130:0:1000:ce46:cc29:f96:533d 35656 22
SSH_CONNECTION=2404:130:0:1000:ce46:cc29:f96:533d 35656 2001:a60:902f::bcae:fda6 22
debug2: channel 1: written 338 to efd 7
debug2: channel 1: rcvd ext data 38
Running /bin/zsh -c '/bin/sh .ssh/rc'
debug2: channel 1: written 38 to efd 7
debug1: Entering interactive session.
debug1: pledge: id
debug3: receive packet: type 80
debug1: client_input_global_request: rtype [email protected] want_reply 0
debug3: receive packet: type 4
debug1: Remote: /home/madduck/.ssh/authorized_keys:23: key options: command user-rc
debug3: receive packet: type 4
debug1: Remote: /home/madduck/.ssh/authorized_keys:23: key options: command user-rc
debug3: receive packet: type 91
debug2: channel_input_open_confirmation: channel 1: callback start
debug2: fd 3 setting TCP_NODELAY
debug3: ssh_packet_set_tos: set IPV6_TCLASS 0x08
debug2: client_session2_setup: id 1
debug2: channel 1: request shell confirm 1
debug3: send packet: type 98
debug2: channel_input_open_confirmation: channel 1: callback done
debug2: channel 1: open confirm rwindow 0 rmax 32768
debug2: channel 1: rcvd adjust 2097152
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 1
debug2: shell request accepted on channel 1
* PREAUTH [CAPABILITY IMAP4rev1 […]
If I switch back to the Python2 version (7.3.3, Debian 7.3.3+dfsg1-1), it just works again, same config.