DKIM for hostname

Tazmanian79

Verified User
Joined
Jul 24, 2010
Messages
106
Hello,

question, I have found this help article: https://help.directadmin.com/item.php?id=16

It says that /etc/virtual/hostname/ must not contain any file.

However I placed in that directory two files that I copied from the main domain
dkim.private.key
dkim.public.key

This is because CSF is sending mails from root@hostname and otherwhise there is no DKIM set.

Can you tell me that this is correct or should I remove those 2 files?
 
You shuld remove those files. Have you already setup DKIM in DirectAdmin for regular domains? Like this: https://help.directadmin.com/item.php?id=569

If so, then you only need to do this to have DKIM on your server hostname:

Code:
cd /usr/local/directadmin/scripts/
./dkim_create.sh YOURSERVER.HOSTNAME.COM

Then restart exim.
 
Yes DKIM for other domains is already set.

Will run commands as you described. Thanks!
 
Back
Top