Hi Juanito
... Maybe it would make sense to use those environmental variables
when starting claws-mail? Possibly in the form of a claws startup script?
Here's a possible fix if you are interested. I modified the tce.installed script:
#!/bin/sh
gtk-update-icon-cache -q -f -t /usr/local/share/icons/hicolor
if [ ! -e /usr/local/bin/claws-mail-start ]
then
sudo echo -e "#!/bin/sh\n\nexport SSL_CERT_DIR=/usr/local/etc/ssl/certs\nexport SSL_CERT_FILE=/usr/local/etc/ssl/ca-bundle.crt\n\nclaws-mail" > /usr/local/bin/claws-mail-start
sudo chmod 775 /usr/local/bin/claws-mail-start
sudo chown root:staff /usr/local/bin/claws-mail-start
fi
The if clause I added creates the following file (/usr/local/bin/claws-mail-start) if it does not exist:
#!/bin/sh
export SSL_CERT_DIR=/usr/local/etc/ssl/certs
export SSL_CERT_FILE=/usr/local/etc/ssl/ca-bundle.crt
claws-mail
If someone needs a different path or filename for the certificates, they can edit the exports lines and backup this file.
I changed the first Exec line in the desktop file
From:
Exec=claws-mail %u
To:
Exec=claws-mail-start %u
I updated my copy of claws-mail.tcz with the above changes and it's finding the certificates.
I'm not sure what to do (if anything) with this section at the end of the desktop file:
Actions=GetMail;ComposeMail;SendFile;
[Desktop Action GetMail]
Exec=claws-mail --receive-all
Name=Get Mail
Name[ca]=Rebre
Name[es]=Recibir
Name[fr]=Relever
Name[he]=××©× ×××ר
Name[pt]=Receber
Name[ru]=ÐолÑÑиÑÑ ÐоÑÑÑ
Name[tr]=Posta Al
[Desktop Action ComposeMail]
Exec=claws-mail --compose
Name=Email...
Name[ca]=Correu...
Name[es]=Correo...
Name[fr]=Message...
Name[he]=××××´×...
Name[pt]=Mensagem...
Name[ru]=ÐиÑÑмо...
Name[tr]=E-posta yaz...
[Desktop Action SendFile]
Exec=claws-mail --compose --attach %f
Name=Send file...
Name[ca]=Enviar arxiu...
Name[es]=Enviar fichero...
Name[fr]=Envoyer fichier...
Name[he]=ש×× ×§×××¥...
Name[pt]=Enviar ficheiro...
Name[ru]=ÐÑпÑавиÑÑ Ñайл...
Name[tr]=Ekli e-posta yaz...
There are 3 other Exec actions. Flwm_topside seems to ignore them. I don't know about other window managers.
I also noticed the following, though I haven't observed any problems with claws-mail:
tc@E310:~$ tail -n 3 /var/log/messages
Jul 26 11:41:23 box auth.err claws-mail: unable to dlopen /usr/local/lib/sasl2/libsql.so: libmariadb.so.3: cannot open shared object file: No such file or directory
Jul 26 11:41:23 box auth.err claws-mail: unable to dlopen /usr/local/lib/sasl2/libsasldb.so: libgdbm.so.6: cannot open shared object file: No such file or directory
Jul 26 11:41:23 box auth.err claws-mail: unable to dlopen /usr/local/lib/sasl2/libldapdb.so: libldap-2.4.so.2: cannot open shared object file: No such file or directory
tc@E310:~$
The first one is in mariadb-10.3.tcz
The second on is in gdb.tcz
The third on is in openldap.tcz, though cyrus-sasl.tcz provides /usr/local/lib/libldap.so.3.