Hello, i am use ispconfig on ubuntu server as mail gateway and smtp relay for exchange server client>ispconfog>exchangeserver localuser>ispconfig>client my proplem is with dkim ... how i can generate a dkim key for not existing domain name
How can you use DKIM for a domain that does not exist? If you mean the domain does not exist in ISPConfig, you can generate DKIM key pair without using ISPConfig. Then you need to install the keys to server where that e-mail domain is in use and DNS records for that domain. Use Internet Search Engines with Code: generate dkim key pair
The problem is that Dkim in ISPConfig is bound to the email domain, but on such a relay setup, you don't add a domain in ISPConfig as an email domain and that's why he can't use ISPConfig to create the Dkim key.
i resolved by add by generate dkim private key and put it in /var/lib/amavis/dkim/ then add the dkim key in /etc/amavis/conf.d dkim file. thanks.