Code in this video_PostfixAdmin – Set Up A Mail Server with PostfixAdmin on Ubuntu | Debian – Part 7

PostfixAdmin – Set Up A Mail Server with PostfixAdmin on Ubuntu | Debian – Part 7 -Install and Integrate OpenDKIM with Mail Server

✳️ Code in this video:

Note: Replace totatca.xyz = Your-Domain

📌 opendkim.conf

AutoRestart		Yes
AutoRestartRate		10/1h
SignatureAlgorithm	rsa-sha256
ExternalIgnoreList	refile:/etc/opendkim/TrustedHosts
InternalHosts		refile:/etc/opendkim/TrustedHosts
KeyTable		refile:/etc/opendkim/KeyTable
SigningTable		refile:/etc/opendkim/SigningTable

📌 TrustedHosts

127.0.0.1
localhost
*.totatca.xyz

📌 KeyTable

dkimkey._domainkey.totatca.xyz	totatca.xyz:dkimkey:/etc/opendkim/dkimkey.private

📌 SigningTable

*@totatca.xyz	dkimkey._domainkey.totatca.xyz

📌 main.cf

milter_protocol = 6
milter_default_action = accept
smtpd_milters = inet:127.0.0.1:12345
non_smtpd_milters = inet:127.0.0.1:12345

📌 Email for testing: [email protected]

Thank You !!!

Leave a Reply

Your email address will not be published. Required fields are marked *