Skip to content

Bash script to add or remove openDKIM from TrustedHosts, KeyTable, SigningTable, opendkim keys on Ubuntu

Notifications You must be signed in to change notification settings

Morpheus-ro/addRemoveDKIM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

addRemoveDKIM

Bash script to add or remove openDKIM from TrustedHosts, KeyTable, SigningTable, opendkim keys on Ubuntu 14.04

./addRemoveDKIM

What do you like to do?

  1. add website to DKIM
  2. remove website from DKIM
  3. exit

Insert domain to add:

example.com

add new line in /etc/opendkim/TrustedHosts -> *.example.com add new line in /etc/opendkim/KeyTable -> mail._domainkey.example.com example.com:mail:/etc/opendkim/keys/example.com/mail.private add new line in /etc/opendkim/SigningTable -> *@example.com mail._domainkey.example.com

Generating the keys in /etc/opendkim/keys/example.com -> /etc/opendkim/keys/example.com and the shows mail.txt content in order to copy the key in DNS

Restarts postfix and opendkim service

About

Bash script to add or remove openDKIM from TrustedHosts, KeyTable, SigningTable, opendkim keys on Ubuntu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages