Hello Jamie, On Sun, Feb 28, 2010 at 12:41:00AM +0000, Jamie Griffin wrote: > I've compiled mutt on NetBSD 5.0.2 using pkgsrc/ports with ssl support. I > use mutt to read mail from my imap mailbox on the localhost, so have > "imaps://localhost/INBOX." in my muttrc file. I use dovecot and use > self-signed ssl certificates. Without $ssl_verify_host unset mutt complains > that the "Certificate host check failed: certificate owner does not match > hostname localhost". When I searched on google I found a bug report[1] for > mutt 1.5.18 that described the same problem so I just wondered if this might > be a problem with mutt rather than something with my setup.
Well, the problem is probably that the SSL cert is issued for the FQDN of your machine, whereas you try to connect to it as "localhost". What happens if you use the same full hostname in the IMAP URL as the one that is in the SSL certificate? > Also, I tried to set $ssl_ca_certificates_file and keep getting the "Unknown > Variable" error message when I start mutt, but I have recompiled mutt a few > times now to make sure ssl support is compiled in but it does not help. I > wondered if anyone might know what might be wrong? Possibly a pkgsrc 'thing', > I haven't asked on that list yet. (output from `mutt -v` below.) Well, it seems that SSL support is compiled into mutt, so you will have to look for problems elsewhere. Maybe if you can turn up verbosity for mutt and post the results of running the problematic test case along with the relevant parts of your .muttrc, that may give someone some clues. -- Regards: Szilveszter ADAM Budapest Hungary