Skip to content

Amodio/mailu-scaleway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

mailu-scaleway

Deploying your email server on Scaleway in a few minutes! Note: this script is cloud agnostic.

You should disable IPv6 as it is not being used here (see Mailu FAQ https://mailu.io/master/faq.html#how-to-make-ipv6-work)

Prerequisites

Installation

wget https://raw.githubusercontent.com/Amodio/mailu-scaleway/main/main.sh
vi main.sh # configure your settings by replacing: USER, YOUR_HOME.IP & EXAMPLE.COM.
bash main.sh

This script should execute in ~5 minutes and will display your credentials once.

It will deploy an email server (SPF/DKIM & DMARC) from Mailu docker images.

It will also create a ~/save.sh script to backup your docker volumes.

To restore a backup on a fresh server, place your archive in /root before running this script.

Set/create the DNS records

  • MX DNS entry pointing to mail.EXAMPLE.COM
  • CAA DNS entry with value letsencrypt.org (flag: 0 / non-critical)
  • A DNS entry making mail.EXAMPLE.COM point to your server instance's IPv4

You should also set your reverse DNS (mail.EXAMPLE.COM) on the IPv4.

For SPF:

  • TXT DNS entry on @ (= EXAMPLE.COM) with value v=spf1 ip4:IPV4_OF_YOUR_INSTANCE -all (replace the IP)

For DMARC:

For DKIM you will have to run the script and follow its instructions to generate keys (in the web interface).

  • TXT DNS entry on the subdomain dkim._domainkey with value v=DKIM1; k=rsa; p=[...].

Configure the email client(s)

IMAP: mail.EXAMPLE.COM / port 993 (TLS)
SMTP: mail.EXAMPLE.COM / port 465 (TLS)

You can check https://mail.EXAMPLE.COM/mailu-admin/ui/client (replace the domain name)

Tests

https://www.mail-tester.com

https://mxtoolbox.com/deliverability

https://mxtoolbox.com/emailhealth

About

Deploying Mailu on Scaleway in a few minutes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages