From d2d75f55e5608228fa49bafe423322bad27d2410 Mon Sep 17 00:00:00 2001 From: Baptiste Grenier Date: Sat, 14 Dec 2024 01:06:09 +0100 Subject: [PATCH] mbsync: use IMAPS --- home/private_readonly_dot_mbsyncrc.tmpl | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/home/private_readonly_dot_mbsyncrc.tmpl b/home/private_readonly_dot_mbsyncrc.tmpl index f61a4fb1..22002036 100644 --- a/home/private_readonly_dot_mbsyncrc.tmpl +++ b/home/private_readonly_dot_mbsyncrc.tmpl @@ -107,13 +107,17 @@ IMAPAccount baptiste # CertificateFile /etc/ssl/certs/ca-certificates.crt Host mail.bapt.name # XXX: On FreeBSD with pinentry-gnome3, the password is not taken from the gnome keyring -# PassCmd "rbw get /mail/baptiste@bapt.name" # secret-tool store --label=mail host mail.bapt.name service imaps user baptiste@bapt.name -PassCMD "secret-tool lookup host mail.bapt.name service imaps user baptiste@bapt.name" +PassCmd "secret-tool lookup host mail.bapt.name service imaps user baptiste@bapt.name" +# PassCmd "rbw get /mail/baptiste@bapt.name" +# Port 443 +Port 993 {{- if eq .chezmoi.os "freebsd" }} -TLSType STARTTLS +# TLSType STARTTLS +TLSType IMAPS {{- else }} -SSLType STARTTLS +# SSLType STARTTLS +SSLType IMAPS {{- end }} User baptiste@bapt.name