Setup Mailserver
Last updated
Last updated
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 admin@example.com)
Run the following command to findout the ipv4 of your linux server
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)
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
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