On Sun, Jul 31, 2016 at 12:52:03PM +0100, Edd Barrett wrote: > (BTW, IIRC, sylpheed has the same or a similar issue).
Yep, Sylpheed indeed has the same problem. It doesn't look at our cert.pem and thus says (e.g.) GMail is unknown. Below patch fixes this. To test, run with --debug. Without the patch you will see the SSL code looking for a CA cert file and fail, then if you add a GMail account, it will ask you to verify it. With the patch it finds cert.pem and doesn't ask. OK? Note that there are newer versions of Sylpheed at this point, in case anyone wants to update it. I may try at g2k16... Index: Makefile =================================================================== RCS file: /home/edd/cvsync/ports/mail/sylpheed/Makefile,v retrieving revision 1.109 diff -u -p -r1.109 Makefile --- Makefile 18 Mar 2016 03:07:35 -0000 1.109 +++ Makefile 3 Aug 2016 19:09:48 -0000 @@ -3,7 +3,7 @@ COMMENT = lightweight and user-friendly e-mail client DISTNAME = sylpheed-3.4.2 -REVISION = 3 +REVISION = 4 SHARED_LIBS += sylph-0 3.0 # 3.0 SHARED_LIBS += sylpheed-plugin-0 3.0 # 3.0 Index: patches/patch-libsylph_ssl_c =================================================================== RCS file: patches/patch-libsylph_ssl_c diff -N patches/patch-libsylph_ssl_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-libsylph_ssl_c 3 Aug 2016 19:09:33 -0000 @@ -0,0 +1,11 @@ +$OpenBSD$ +--- libsylph/ssl.c.orig Wed Aug 3 20:08:00 2016 ++++ libsylph/ssl.c Wed Aug 3 20:09:20 2016 +@@ -55,6 +55,7 @@ static gchar *find_certs_file(const gchar *certs_dir) + } + + if (certs_dir) { ++ LOOK_FOR("cert.pem"); + LOOK_FOR("ca-certificates.crt"); + LOOK_FOR("ca-bundle.crt"); + LOOK_FOR("ca-root.crt"); -- Best Regards Edd Barrett http://www.theunixzoo.co.uk