Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| server_configuration:email [2021/01/13 21:27] – [Prerequisite(s)] david | server_configuration:email [2025/03/27 15:42] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| ===== Prerequisite(s) ===== | ===== Prerequisite(s) ===== | ||
| + | ==== DNS ==== | ||
| Having already configured an email server previously (see some extra notes below), I'd already setup DNS records, similar to in this guide: | Having already configured an email server previously (see some extra notes below), I'd already setup DNS records, similar to in this guide: | ||
| * See sections " | * See sections " | ||
| Line 48: | Line 49: | ||
| ====== Useful Tricks ====== | ====== Useful Tricks ====== | ||
| + | |||
| + | ===== Migrate Mailbox ===== | ||
| + | |||
| + | <code bash> | ||
| + | # Change to home directory | ||
| + | cd ~ | ||
| + | |||
| + | # Copy mailbox data from backup | ||
| + | sudo cp -r / | ||
| + | |||
| + | # Fix file and directory ownership | ||
| + | sudo chown -R david:david Maildir | ||
| + | </ | ||
| + | |||
| + | ===== bounce (forward) email ===== | ||
| In '' | In '' | ||
| + | |||
| + | ===== Requirements for Gmail to receive emails ===== | ||
| + | |||
| + | ==== MX Records ==== | ||
| + | |||
| + | ==== Google Domain TXT record ==== | ||
| + | |||
| + | * https:// | ||
| + | |||
| + | ==== PTR Records ==== | ||
| + | |||
| + | > Mail servers must meet a number of requirements to prevent their messages from being blocked, e.g. have a PTR record. The use of authentication methods such as SPF, DKIM or DMARC minimize the chance that messages are marked as spam. | ||
| + | |||
| + | * https:// | ||
| + | * https:// | ||
| + | * Digital Ocean: https:// | ||
| ====== Mixed Links ====== | ====== Mixed Links ====== | ||