Ok, I got everything to work after adding separate 'dkim_key' lines to the '/etc/amavisd.conf' file and creating my own keys by running the following command:
'amavisd genrsa /var/lib/dkim/mydomain1.com.pem'
I had issues with the default permissions though.
This first site is the default site that the install script asked for when setting up this box initially. I can't seem to find any documentation on how to duplicate these permission. The plus sign throws me off here.
'-rw-r-----+ 1 root root 887 Jul 14 16:43 mydefaultdomain.net.pem'
When I run the 'amavisd genrsa' command I get the following permission set and when I add the appropriate lines in the '/etc/amavisd.conf' file and restart the amavisd service, it will not come back up complaining about permissions.
'-rw------- 1 root root 891 Jul 16 00:56 mydomain1.com.pem'
A third site I have set up on the system works after doing a:
'chmod 777 mydomain2.com.pem'
resulting in the following:
'-rwxrwxrwx 1 root root 887 Jul 15 15:06 mydomain2.com.pem'
So I am looking for THE magic chmod command to fix permissions for any sites I add and still have a secure file.
In regards to the catchall signing of every outgoing email by default I assume you are referring the last line in the '/etc/amavisd.conf' file that says the following?
' # catchall defaults
'.' => { a => 'rsa-sha256', c => 'relaxed/simple', ttl => 30*24*3600 },'
This line doesn't seem to be pointing to a key file like the 'dkim_key' line does. So would I still need to add a line similar to the following?
'dkim_key(".", "dkim", "/var/lib/dkim/mydefaultdomain.net.pem");'
Then comment out the one that was created by the install script?
'dkim_key("mydefaultdomain.net", "dkim", "/var/lib/dkim/mydefaultdomain.net.pem");'
Thank you for you assistance with these issues.