-------------------------------------------- On Thu, 3/16/17, Fazzina, Angelo <angelo.fazz...@uconn.edu> wrote:
Subject: need little help with DKIM, if possible. To: "postfix-users@postfix.org" <postfix-users@postfix.org> Date: Thursday, March 16, 2017, 12:19 PM Hi, I ran this. opendkim-genkey -v -D /etc/opendkim/keys/uconn/ -d uconn.edu -s 2017_uconn_DKIM which created the private key and selector name [] That selector name is inappropriate. If you want to use something that long, use dashes instead of underscores. But there is no reason to use something that complicated. I just use 'dkim' for mine. I am learning by reverse engineering [] Don't do that. :) Different sites have different needs, and you really don't need anything as complex as Google's. This is a pretty good tutorial for a single domain: https://help.ubuntu.com/community/Postfix/DKIM Obviously you can ignore the Ubuntu-specific parts if you're not using Ubuntu. Also, I would not use autorestart, see the man page for why. If you are setting up multiple domains the configuration is slightly more complex, but still not that difficult. In regards to your DNS question, assuming you pick 'dkim' for your selector, and your domain is 'uconn.edu' you would want to put the following record in the uconn.edu zone file: dkim._domainkey TXT ( "v=DKIM1; k=rsa; t=y;" "p=<key stuff goes here>;" ) When you're done testing you can remove t=y; from the above example. hope this helps, Doug