mail routing

Discussion in 'Installation/Configuration' started by aminbaik, Nov 1, 2021.

  1. aminbaik

    aminbaik New Member

    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
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    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
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  4. aminbaik

    aminbaik New Member

    hello,
    i tried to use
    DKIM Wizard - SparkPost
    but how i can add it to postfix ?
    thanks.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Dkim signing is handled by amavis or rspamd depending on your setup and not by postfix.
     
  6. aminbaik

    aminbaik New Member

    how i can do it ?
     
  7. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  8. aminbaik

    aminbaik New Member

    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.
     
    till likes this.

Share This Page