💿
Openlitespeed & Cyberpanel
  • Linux Debugging
    • Desk Space Debugging
    • Checked Failed Services
    • Debug Memory Usage
  • Openlitespeed Web Admin
    • List Users
    • Update Password
  • Cyberpanel Setup
    • Installing Cyberpanel
    • Remove Port 8090 from URL
    • Folder permissions in CyberPanel
    • Redirect one domain to another
  • Customizing Cyberpanel
    • Customize Login Page
    • Customize Home Page Title
    • Customize Dashboard UI
  • SSL Debugging
  • DKIM Debugging
  • Setup Mailserver
Powered by GitBook
On this page

Setup Mailserver

Last updated 1 year ago

  1. Create the website for the domain you want to make emails for

  2. Enable SSL

  3. Generate a DKIM key in

  4. Create the first email for the domain (for example admin@example.com)

  5. Run the following command to findout the ipv4 of your linux server

ip -6 addr
  1. 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
  1. You might have to create a mailserver SSL in cyberpanel

  2. 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

mail

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

https://c01.sikka.io/email/dkimManager