Skip to content

Commit

Permalink
dkim generator added
Browse files Browse the repository at this point in the history
  • Loading branch information
LandRover committed Jul 27, 2024
1 parent aaa349d commit 499c404
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions usr/src/.BUILD/helpers/exim_generate_ssl_certificate.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#!/bin/bash

## DKIM Generation
# /opt/local/sbin/openssl/bin/openssl genrsa -out /opt/local/etc/exim/virtual/domains/<DOMAIN_NAME>/ssl/dkim/dkim.key 2048
# /opt/local/sbin/openssl/bin/openssl rsa -in /opt/local/etc/exim/virtual/domains/<DOMAIN_NAME>/ssl/dkim/dkim.key -out /opt/local/etc/exim/virtual/domains/<DOMAIN_NAME>/ssl/dkim/dkim.pub -pubout
#
# Add new DNS record to the domain TXT type:
# dkim_signature_id._domainkey.<DOMAIN_NAME> v=DKIM1; p=<FILE CONTANT OF /opt/local/etc/exim/virtual/domains/<DOMAIN_NAME>/ssl/dkim/dkim.pub>
#


ETC_DIR="/opt/local/etc";

mkdir -p ${ETC_DIR}/exim/ssl
Expand Down

0 comments on commit 499c404

Please sign in to comment.