[Eisfair] certs-Paket, Zertifikat per Emai lversenden, Fehler?
Marcus Röckrath
marcus.roeckrath at gmx.de
Di Jul 15 14:49:41 CEST 2025
Hallo Alex,
Alex Busam wrote:
> 2170 _sce_mail_options="${_sce_mail_options} ${certdir}/${keyname}.pem
> ${certdir}/${keyname}.crt"
>
>
> nicht an: ?
> 2169 ln -sf ${certdir}/${keyname}.pem ${certdir}/${keyname}.crt
> 2278 rm -f ${certdir}/${keyname}.crt
>
> hab 2170 ein new vor certdir gehängt -> geht nicht. Gleich Meldung.
Hatte die ln-Zeile nicht beachtet, weshalb die Originalfassung auch ok ist;
meine Korrektur macht grundsätzlich nichts kaputt, aber hilft auch nicht.
Ich denke, das Problem liegt in der Verwendung der Option -u.
# -u : uuencode encoding: indicates a list of files which are to be
# uuencode encoded. The switch may be used multiple times if
# multiple files should be send in one go. Files need to be
# enclosed in quotes if their path and/or name contains
# whitespaces. Usual wildcard notation can be used.
also
-u "file1 file2 ..."
ist demnach falsch, denn es muss wohl
-u "file1" -u "file2" -u ...
heißen.
Entweder hat das noch nie funktioniert, aber es hat auch niemand dies mal
benutzt, oder die Syntax des send_file_from_cmd.sh-Skripts hat sich mal
geändert.
Mal ein Schnellschuss; Ändere die Zeilen 2238 und 2248
-u "${tmpdir}/importcert.htm ${_sce_mail_options}"
in (eine Zeile)
-u ${tmpdir}/importcert.htm $(for _sce_file in ${_sce_mail_options} ; do
echo -n " -u ${_sce_file}" ; done)
um.
--
Gruß Marcus
[eisfair-Team]
Mehr Informationen über die Mailingliste Eisfair