server_configuration:email

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
server_configuration:email [2021/01/13 21:27] – [Prerequisite(s)] davidserver_configuration:email [2023/08/20 14:39] (current) david
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 "Setting up DNS" & "Verify DNS": [[https://www.digitalocean.com/community/tutorials/how-to-set-up-a-postfix-e-mail-server-with-dovecot|How To Set Up a Postfix E-Mail Server with Dovecot]]   * See sections "Setting up DNS" & "Verify DNS": [[https://www.digitalocean.com/community/tutorials/how-to-set-up-a-postfix-e-mail-server-with-dovecot|How To Set Up a Postfix E-Mail Server with Dovecot]]
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 /mnt/volume_lon1_01/disk_backup/home/david/Maildir .
 +
 +# Fix file and directory ownership
 +sudo chown -R david:david Maildir
 +</code>
 +
 +===== bounce (forward) email =====
  
 In ''mutt'' to bounce (forward) an email to another address (say a HTML email forward to a regular mailbox), press ''b'' when the email is selected and then put the address into the application and hit enter. In ''mutt'' to bounce (forward) an email to another address (say a HTML email forward to a regular mailbox), press ''b'' when the email is selected and then put the address into the application and hit enter.
 +
 +===== Requirements for Gmail to receive emails =====
 +
 +==== MX Records ====
 +
 +==== Google Domain TXT record ====
 +
 +  * https://support.google.com/a/answer/183895?hl=en
 +
 +==== 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://stackoverflow.com/questions/15771932/the-ip-youre-using-to-send-mail-is-not-authorized-to-send-email-directly-to-our
 +  * https://support.google.com/mail/answer/81126
 +  * Digital Ocean: https://docs.digitalocean.com/products/networking/dns/how-to/manage-records/#ptr-rdns-records
  
 ====== Mixed Links ====== ====== Mixed Links ======
  • server_configuration/email.1610573250.txt.gz
  • Last modified: 2021/01/13 21:27
  • by david