On Fri, May 20, 2022 at 08:32:38AM -0000, Stuart Henderson wrote:
> On 2022-05-20, Avon Robertson <avo...@xtra.co.nz> wrote:
> > I have been unable to fetch mail with mutt on this host using either the
> > currently installed snapshot and mutt package, or the snapshot and mutt
> > package that had been installed 2-3 days previously.
> >
> > I have been able to send mail using mutt in conjuction with msmtp from
> > this host.
> >
> > mutt's error-history command displays
> >
> > Reading /home/aer/var/mail/inbox...
> > Reading /home/aer/var/mail/inbox... 0
> > Looking up pop3.xtra.co.nz...
> > Connecting to pop3.xtra.co.nz...
> > SSL failed: error:14007086:SSL routines:CONNECT_CR_CERT:certificate
> > +verify failed
> > Error connecting to server: pop3.xtra.co.nz
> 
> I assume this is pop3s on port 995?
> What do you get from "nc -vvc pop3.xtra.co.nz 995"?
> 
> > The below snapshot was installed yesterday and all packages were updated
> > immediately afterwards such that mutt's version is now 2.2.5.
> >
> > kern.version=OpenBSD 7.1-current (GENERIC.MP) #533: Thu May 19 07:38:57 MDT 
> > 2022
> >     dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> >
> > Another amd64 host that I have with OpenBSD 7.1 (GENERIC.MP) #454 and
> > mutt 2.2.2 installed, fetches and sends mail without error using the
> > same set of mutt configuration files.
> 
> Try copying the mutt binary from the working system (don't overwrite the file
> from the installed package, just put it in ~ and run it from there) - does 
> that
> work or not?
> 
> 

Thank you for your response Stuart. Alas your suggestion to try the
binary from the working host does not work. I have pasted a log of my
actions below. I will try Theo's fix tomorrow.

$ fgrep -e 995 ~/.muttrc
set pop_host="pops://avo...@pop3.xtra.co.nz:995"

$ nc -vvc pop3.xtra.co.nz 995
Connection to pop3.xtra.co.nz (210.55.143.37) 995 port [tcp/pop3s]
succeeded!
TLS handshake negotiated TLSv1.2/ECDHE-RSA-AES256-GCM-SHA384 with host
pop3.xtra.co.nz
Peer name: pop3.xtra.co.nz
Subject: /C=NZ/L=Auckland/O=Spark New Zealand Limited/OU=Spark
Connect/CN=pop3.xtra.co.nz
Issuer: /C=US/O=Entrust, Inc./OU=See www.entrust.net/legal-terms/OU=(c)
2012 Entrust, Inc. - for authorized use only/CN=Entrust Certification
Authority - L1K
Valid From: Thu Jul 22 12:41:29 2021
Valid Until: Wed Aug 17 12:41:29 2022
Cert Hash:
SHA256:ec5b8868a45006e3b185fe01a918b88598d5ac113822985a988c64fb395537ca
OCSP URL: http://ocsp.entrust.net
+OK pop3.xtra.co.nz POP3 server ready
^C

On working mail host:
$ rsync -v /usr/local/bin/mutt errhost.xyz.abcd:/home/aer

On errhost:
# chown root:bin /home/aer/mutt
$ cd
$ ./mutt

Does not work and mutt's error-history command reports the same error.

Regards
-- 
aer

Reply via email to