User Tools

Site Tools


computing:mailserver

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
computing:mailserver [2022/12/26 01:21] oemb1905computing:mailserver [2023/07/09 17:32] oemb1905
Line 318: Line 318:
   sudo opendkim-testkey -d haacksnetworking.org -s default -vvv   sudo opendkim-testkey -d haacksnetworking.org -s default -vvv
      
- --- //[[jonathan@haacksnetworking.org|oemb1905]] 2022/12/25 13:53//+Also, please note that the above applies to clients connecting to the domain. If you intend to also host websites/content on the same host as the mail server, then you will also need to set up dmarc, spf, and mx records for the subdomain, mail.example.com. You will not need to setup dkim nor change the PTR. To test the validity of the command line email set up, ssh into your server and send an email as follows: 
 + 
 +  echo "Hi, I am testing the subdomain email health." | mail -s "CLI Email Test" oemb1905@jonathanhaack.com 
 +   
 +Setting up dovecot-sieve.  
 + 
 +  sudo apt install dovecot-sieve dovecot-managesieved 
 +  sudo nano /etc/dovecot/dovecot.conf 
 +  <protocols = imap lmtp sieve> 
 +  sudo nano /etc/dovecot/conf.d/15-lda.conf 
 +  <protocol lda {> 
 +    <mail_plugins = $mail_plugins sieve> 
 +  <}> 
 +  sudo nano /etc/dovecot/conf.d/20-lmtp.conf 
 +  <protocol lmtp {> 
 +    <mail_plugins = quota sieve> 
 +  <}> 
 +  systemctl restart dovecot postfix 
 +   
 + --- //[[jonathan@haacksnetworking.org|oemb1905]] 2023/07/09 17:25//
computing/mailserver.txt · Last modified: 2023/08/06 18:42 by oemb1905