Use one of you account (for me Gmail) and in indentities define signature as output of script. Expected result the signature is applied to new message Actual result : error dialog box (3 times) with Failed to execute signature script /ioda/home/bruno/bin/signature_email.sh: Here the script source /etc/os-release cat /ioda/data/user-data/Bruno/Signatures/Standard.txt echo ${PRETTY_NAME} - ${VERSION_ID} echo "$(uname -srmo), nvidia: $(modinfo --field=version nvidia)" X5="$( echo $(kf5-config -v) | awk '{print $1, $2",", $3, $4, $5}' )" echo "${X5}, Plasma: $(plasmashell -v | awk '{print $2}'), $(kmail -v)" and the output Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch Bareos Partner, openSUSE Member, fsfe supporter GPG KEY : D5C9B751C4653227 irc: tigerfoot openSUSE Tumbleweed - 20190125 Linux 4.20.2-1-default x86_64 GNU/Linux, nvidia: 410.93 Qt: 5.12.0, KDE Frameworks: 5.54.0, Plasma: 5.14.5, kmail2 5.10.1 echo $? return 0 as expected. Don't remember when I saw this the first time (around 5.4x version I guess, one year ago at least)
it seems that it needs to add #!/bin/sh at top of script. It works for me (as for other script). (I fixed a bug when I tried to reproduce your bug :) )
Good catch Laurent ! Damn so evident that I can't see it. Perhaps a line in documentation and help to tell that any script will work, but have to have a shebang line. So this one was an easy fix.
Indeed I will add more info.