[Virtualmin and Webmin] Creating SPF, DKIM and DMARC DNS TXT Records

Subject: [Virtualmin and Webmin] Creating SPF, DKIM and DMARC DNS TXT Records

Author: Mr. Turritopsis Dohrnii Teo En Ming (TARGETED INDIVIDUAL)
Country: Singapore
Date: 21 Oct 2021 Thursday Singapore Time

Type of Publication: Plain Text
Document Version: 20211021.01

DETAILED INSTRUCTIONS
======================

Creating SPF Record
====================

SPF record was created automatically previously. There is no need to create SPF record again.

Verifying SPF Record
======================

Go to mxtoolbox.com

The SPF record is 

v=spf1 a mx a:turritopsis-dohrnii-teo-en-ming.com ip4:185.182.9.61 ip4:185.182.9.61 ip6:2a02:c207:2069:6121:0000:0000:0000:0001 ?all

Creating DKIM Record
=====================

Login to Virtualmin.

Click Email Settings > DomainKeys Identified Mail

DomainKeys Identified Mail
==========================
DomainKeys identified mail options
===================================

Signing of outgoing mail enabled? Yes

Selector for DKIM record name: 2021

Reject incoming email with invalid DKIM signature? Yes

Size of new DKIM key: 2048 bits

Domains to sign for: turritopsis-dohrnii-teo-en-ming.com

Click Save

Enable DomainKeys Identified Mail
==================================

Finding virtual servers to enable DKIM for ..
.. found 1 servers and 1 extra domains
Generating private key in file /etc/opendkim/keys/default.private ..
.. done
Extracting public key from private key in /etc/opendkim/keys/default.private ..
.. done
Setting domain and selector in DKIM filter configuration ..
.. done
Adding DKIM records to DNS domain turritopsis-dohrnii-teo-en-ming.com ..
.. added successfully
Enabling DKIM filter at boot time ..
.. done
Starting DKIM filter ..
.. done
Configuring mail server to use DKIM filter ..
.. done
Re-starting DNS server ..
.. done

Verifying DKIM Record
======================

Go to mxtoolbox.com

DKIM Selector: 2021

The DKIM record is

v=DKIM1; k=rsa; t=s; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtAag9wT+JcVqf4LOXV4tIkfAeOudlfU5ne3at292ch+En3zhRlwUflzMJkE/Ax+chxy+lbj2X4/mUdhFiEsMcly2LNFkO06xLK+2LUcl71u+JfOvt1vSGwV1EXtlEkbtfH7y9eQu0SRX13cy0oQTvtpyrbbrmRSjUKpHA8wxdJQq80lj7X3n6EahtY1Y+P5t04tsUBpPyxplIauqp9j47iib2lLwXAAgUw+q2ezz2OgX9nwgMUZfVNFzZAuugnzoQgBij7UVmH72GOaDsJ724Pp2RqJhYXZaYMImy1pExDXRUc60I7EjXn6ONXHlszjO7U2XVOreaLGPlc4UAmMNrQIDAQAB

Creating DMARC Record
=====================

Login to Virtualmin.

Click Webmin on the top left.

Click Servers > BIND DNS Server

Click DNS zone turritopsis-dohrnii-teo-en-ming.com

Click DMARC button.

Percentage of messages to apply policy: 100%

Send aggregate feedback to: ceo@teo-en-ming-corp.com

Click Create.

Click Return to records type.

Click Return to zone list.

Click Apply configuration.

Verifying DMARC Record
=======================

Go to mxtoolbox.com

The DMARC record is

v=DMARC1; p=none; pct=100; rua=mailto:ceo@teo-en-ming-corp.com; adkim=r; aspf=r

Mr. Turritopsis Dohrnii Teo En Ming, 43 years old as of 21 Oct 2021, is a TARGETED INDIVIDUAL living in Singapore. He is an IT Consultant with a Systems Integrator (SI)/computer firm in Singapore. He is an IT enthusiast.




REFERENCES
===========


Comments

Popular posts from this blog

[24 Mar 2022 Thursday] Erectile Dysfunction and Viagra

[YOUTUBE] Mental illnesses were invented by governments to punish targeted individuals