Configuring Open DKIM
I'm trying to setup the DKIM using the guide below
My linux distro is Fedora Core 27.
I followed instructions in the document and things were fine upto
the testing command
opendkim-testkey -d cswnn.edu.in -s 201904
opendkim-testkey: /etc/opendkim/keys/default.private: stat(): No such file or directory
I've been trying to debug this for sometime now and went through the entire process twice but no luck.
I'd appreciate any help.
Thanks in Advance.
Um looks like it's trying to open - and not finding - a file called
That's all I can tell from that error message.
I'd check where your domain key files are supposed to be stored, under what names, if they're there.
man opendkim-test there is a
-k parameter for specifying the private key file name.
So you could try:
opendkim-testkey -d cswnn.edu.in -s 201904 -k my_domain_key_file.private
my_domain_key_file.private is your actual *.private key file.
PS - my opendkim is set up a little differently, without using a domain / key mapping file (which is sufficient if you only have a single domain / key). A little easier to set up.