Re: mail/isync: improve an error message

2024-01-09 Thread Antoine Jacoutot
On Tue, Jan 09, 2024 at 03:46:41PM +, Edd Barrett wrote: > On Tue, Jan 09, 2024 at 03:26:48PM +, Klemens Nanni wrote: > > README can always be read in advance, is easy to maintain and, imho, one > > of the first places to look at if you run into ports/package problems. > > > > This just

Re: mail/isync: improve an error message

2024-01-09 Thread Klemens Nanni
On Tue, Jan 09, 2024 at 03:46:41PM +, Edd Barrett wrote: > In that case, here is the first patch I wrote :) OK kn

Re: mail/isync: improve an error message

2024-01-09 Thread Edd Barrett
On Tue, Jan 09, 2024 at 03:26:48PM +, Klemens Nanni wrote: > README can always be read in advance, is easy to maintain and, imho, one > of the first places to look at if you run into ports/package problems. > > This just makes more sense to me. In that case, here is the first patch I wrote

Re: mail/isync: improve an error message

2024-01-09 Thread Klemens Nanni
On Tue, Jan 09, 2024 at 03:10:13PM +, Edd Barrett wrote: > On Tue, Jan 09, 2024 at 03:04:39PM +, Klemens Nanni wrote: > > Does XOAUTH2 appear in the list of available mechanisms once you install > > that package? > > I assume so. The error goes away once the package is installed. > > >

Re: mail/isync: improve an error message

2024-01-09 Thread Edd Barrett
On Tue, Jan 09, 2024 at 03:04:39PM +, Klemens Nanni wrote: > Does XOAUTH2 appear in the list of available mechanisms once you install > that package? I assume so. The error goes away once the package is installed. > Either way, you can also hint at that package in DESCR or README in case >

Re: mail/isync: improve an error message

2024-01-09 Thread Klemens Nanni
On Tue, Jan 09, 2024 at 02:48:11PM +, Edd Barrett wrote: > Hi, > > On a couple of occasions now I've wasted time deciphering this error message > from `mbsync`: > > ``` > IMAP error: selected SASL mechanism(s) not available; >selected: XOAUTH2 >available: SCRAM-SHA-512 SCRAM-SHA-384

mail/isync: improve an error message

2024-01-09 Thread Edd Barrett
Hi, On a couple of occasions now I've wasted time deciphering this error message from `mbsync`: ``` IMAP error: selected SASL mechanism(s) not available; selected: XOAUTH2 available: SCRAM-SHA-512 SCRAM-SHA-384 SCRAM-SHA-256 SCRAM-SHA-224 SCRAM-SHA-1 DIGEST-MD5 EXTERNAL OTP CRAM-MD5 NTLM