Steffen Nurpmeso <[email protected]> wrote:

> Predrag Punosevac wrote in <20191230023544.pq2gwiagf%[email protected]>:
>  |Steffen Nurpmeso <[email protected]> wrote:
>  |Thanks for your swift reply
> 
> Hm, i was still up and running.  That one took somewhat longer ;)
> 
>  |> Without v15-compat set??  Really?  Maybe i will try this out
>  |> tomorrow to find out about it, then.
>  |
>  |v15-compat was commented out long time ago as IMAP was not working with
>  |it IIRC
> 
> Old credential stuff had a bug once, but v15-compat i .. but well.
> 
>  |> I would strongly urge you to do
>  |> 
>  |>   set v15-compat=yes
>  |
>  |snip
>  |
>  |> 
>  |>|account gmail {
>  |>|        set folder=imaps://[email protected]
>  |>|        set imap-use-starttls
>  |> 
>  |> Unused if all you use is imaps://.
>  |> 
>  |>   set user=ppunosevac \
>  |>     folder=imaps://imap.gmail.com
>  |> 
>  |>|        set [email protected]="Secret"
>  |> 
>  |>   set password="Secret"
>  |
>  |Ok working of minimal working example
>  |
>  |account gmail {
>  |        set user=ppunosevac folder=imaps://imap.gmail.com
>  |        set imap-use-starttls
>  |        set password="Secret"
>  |}
>  |set v15-compat
>  |set tls-verify=strict
>  |
>  |I get 
>  |
>  |predrag@oko$ nail -A gmail
>  |nail:  nail version v14.9.15.  Type `?' for help
>  |imaps://[email protected]/INBOX: 1 message
>  |>O  1 Steffen Nurpmeso   2019-12-29 19:10     /7791  Re: .nailrc and
>  |Gmail      
> 
> Great.
> 
>  | made no difference.  I vividly
>  |remember jumping of the nail development train due to your announcement
>  |that v14.9 branch will remove IMAP support. I could have configured
> 
> It will vanish in v15.  Definetely.  But before there will be
> v14.10 with really lots of changes, including PGP support.
> 
>  |mail/fdm at that point but I didn't. Reading through the documentation I
>  |see that you reinstated support for IMAP due to the users' requests. I
> 
> For v14.9.0, yes.  Unfortunately lots of things had changed, and
> the reinstantiation did not adapt.  I think the last such error
> has vanished with v14.9.13, in March this year.  And *imap-delim*
> was broken until v14.9.15.  Sorry.
> 
>  |also see that it is the same IMAP code as v14.8.6. However based upon
>  |above little test something is different. set v15-compat no longer
> 
> Well, oauthbearer support.
> 
>  |breaks the configuration on OpenBSD but I get that error. Any
>  |suggestions how to troubleshoot the error?
> 
> Which error?  The message you have shown would imply there is
> a bug in the errors code.  Usually errors are only noted once
> errors have happened.  Obsoletion warnings also go over error.
> But they stay there unless deleted or the error ring rotatates. :)
> 


Ok. Please stop right here. I get 

predrag@oko$ nail -A gmail
nail:  nail version v14.9.15.  Type `?' for help
imaps://[email protected]/INBOX: 1 message 1 unread
>U  1 Steffen Nurpmeso   2019-12-30 14:51     /7476  Re: .nailrc and
Gmail      
There are new messages in the error message ring (denoted by ERROR),
nail:   which can be managed with the `errors' command
ERROR# ? 


Is this what I see a bug in the error code or "obsolite worning"? 

ERROR# ? errors show
   1/1    There are new messages in the error message ring (denoted by
ERROR),
   2/1     which can be managed with the `errors' command
? 

Look like obsolite worning to me but sure enough it is ugly


When I start v14.8.12 I don't see that. 

predrag@oko$ gmail
s-nail version v14.8.12.  Type ? for help.
"+INBOX": 1 message 1 unread
>U  1 Steffen Nurpmeso   Mon Dec 30 14:51     /7476  Re: .nailrc and
Gmail      
? 

Typically in the past such warrning meant that I misconfigured
something.


>  |I am running amd64 6.6 patched branch of OpenBSD.    
> 
> Should work fine.  (Though i am always using development branch.)
> v14.9.16 to come, but too busy today.  Hopefully tomorrow!
> 
>  |Cheers,
>  |Predrag
>  |
>  |P.S. If you are planning to remove IMAP support in the future maybe we
>  |should not waist the time with this. I could just start using mail/fdm.
>  |I do have a MWE for smtp part. I could not get nail 14.9.15 to send an
>  |email from gmail account per your instruction and current documentation.
> 
> I do that almost every day, Predrag.  It works.


Could you please copy and paste your config file? Obvisly make sure you
remove passwords and feel free to edit usernames and such. 


Predrag


> 
>  |However, I wanted to focus on IMAP for now. Again, configuring OpenSMTPd
>  |daemon to relay email through Gmail is trivial so that is a nuclear
>  |option. That leaves me with MIME as the only useful extension comparing
>  |to original BSD mailx code in the base of OpenBSD.
> 
> Like i have said years ago, the old version will either be
> continued endlessly (as long as i can manage to maintain it), or
> i manage to do the necessary rewrite, and then IMAP (or JMAP by
> then, or whatever) will come back.  But it could be that the local
> cache disappears.  Far future anyway.  Unfortunately.  Just like
> my roff clone.
> 
> Ciao, Predrag.
> 
>  --End of <20191230023544.pq2gwiagf%[email protected]>
> 
> --steffen
> |
> |Der Kragenbaer,                The moon bear,
> |der holt sich munter           he cheerfully and one by one
> |einen nach dem anderen runter  wa.ks himself off
> |(By Robert Gernhardt)

Reply via email to