Setup Mailserver
Create the website for the domain you want to make emails for
Enable SSL
Generate a DKIM key in https://c01.sikka.io/email/dkimManager
Create the first email for the domain (for example [email protected])
Run the following command to findout the ipv4 of your linux server
ip -6 addr
Add the global ipv4 to the spf record and update it in the DNS records as follows: (change the IP address to your server's)
v=spf1 a mx ip6:2402:1f00:8000:800::2d43 ip4:51.79.248.76 ~all
You might have to create a mailserver SSL in cyberpanel
When adding the DKIM records to the DNS, make sure there are no qoutes and that the p= is one line
DNS Records
Type
Name
Value
Priority
A
IP
n/a
A
@
IP
n/a
A
www
IP
n/a
MX
@
mail.example.com
10
TXT
default._domainkey
TXT
_dmarc
TXT
_domainkey
t=y; o=~;
TXT
@
v=spf1 ip6:IP6_ADDRESS ip4:IP4_ADDRESS ~all
Last updated