opendkim-genkey: openssl exited with status %d
This is the error I get when trying to create a DKIM key. My emails are working for gmail fine but failing when sent to hotmail / outlook. I am hoping by adding a DKIM record this will help, but I am unable to create the files due to the openssl error. Unable to figure this out so far.
I have seen answers suggesting the path must include
path => ["/usr/sbin/", "/usr/bin"],
opendkim-genkey: openssl exited with status %d
My path has these added but it still fails
echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin