From ik at sjmulder.nl Wed Dec 4 22:13:56 2019 From: ik at sjmulder.nl (Sijmen J. Mulder) Date: Wed, 4 Dec 2019 14:13:56 +0100 Subject: [sylpheed:36870] Re: Sylpheed + GnuPG on Windows In-Reply-To: <20190513162857.94dddddac2f95ba0fc548012@sjmulder.nl> References: <20190513162857.94dddddac2f95ba0fc548012@sjmulder.nl> Message-ID: <20191204141356.8e4292a66c009c45f611ea71@sjmulder.nl> "Sijmen J. Mulder" wrote: > Using Windows 10, Sylpheed 3.7.0, and GnuPG 2.2.15 (installed through > Gpg4win) and selecting the option to warn at startup if GnuPG doesn't > work, I get a message saying GnuPG is too old or couldn't be found. > > gpg from the command line and GNU Privacy Assistant work fine. > > Is there anything I can try to get this to work? Perhaps a way to get a > bit more specific information out of Sylpheed? I got back to debugging this today and (sort of) figured it out. Long story short, I had to create a registry key: [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\GNU\GnuPG] "Install Directory"="C:\\Program Files (x86)\\Gpg4win\\..\\GnuPG\\bin" because Gpg4win uses a different key (without GNU\): HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\GnuPG ___ Full story: 1. Starting Sylpheed with --debug showed that gpgme returned an error "Invalid crypto engine". 2. Setting the GPGME_DEBUG environment variable to dig deeper revealed that gpgconfig was not found. 3. Using Sysinternal's Process Monitor tracer I discovered that Sylpheed (through GPGME) tried to access C:\Program Files (x86)\GNU\GnuPG\gpgconf.exe but on my system it's located at: C:\Program Files (x86)\GnuPG\bin\gpgconf.exe When I created the expected directory and copied the files from bin\ there it worked. 4. Further digging in Process Monitor showed that Sylpheed (through GPGME) accessed the "Installation Directory" value in registry key HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\GNU\GnuPG but Gpg4win had put its configuration in HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\GnuPG In addition, its "Installation Directory" pointed at the main directory, not the bin\ directory where the executables are. I created the expected key and value as shown above and now it worked, also after deleting the directory I created in step 3. Maybe this helps someone. Sijmen From tao_loomchild at yahoo.com Tue Dec 10 05:44:38 2019 From: tao_loomchild at yahoo.com (Jules) Date: Mon, 9 Dec 2019 20:44:38 +0000 (UTC) Subject: [sylpheed:36871] Search on Imap Server References: <840871334.11001927.1575924278517.ref@mail.yahoo.com> Message-ID: <840871334.11001927.1575924278517@mail.yahoo.com> Dear all, When I try to search for a word within the body of emails contained inside a folder on my IMAP email account using Sylpheed 3.7.0, the program does not seem to run the search directly on the server (even though the IMAP server itself is capable of doing so whenever I use other email clients like Alpine or Thunderbird) but proceeds to downloading all the emails while(before?) performing the search. It is my understanding that the search command is defined by RFC 3501 [ftp://ftp.rfc-editor.org/in-notes/rfc3501.txt] and RFC 5032 [ftp://ftp.rfc-editor.org/in-notes/rfc5032.txt]. Do any of you know if such a feature is implemented in current Sylpheed versions? Is there an option to turn it on or off? Thank you very much in advance, Tao