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
computing:mailserver [2022/12/26 03:14] oemb1905computing:mailserver [2023/08/06 18:42] (current) oemb1905
Line 322: Line 322:
   echo "Hi, I am testing the subdomain email health." | mail -s "CLI Email Test" oemb1905@jonathanhaack.com   echo "Hi, I am testing the subdomain email health." | mail -s "CLI Email Test" oemb1905@jonathanhaack.com
      
- --- //[[jonathan@haacksnetworking.org|oemb1905]] 2022/12/25 20:11//+Setting up dovecot-sieve.  
 + 
 +  sudo apt install dovecot-sieve dovecot-managesieved 
 +  sudo nano /etc/dovecot/dovecot.conf 
 + 
 +Set to: 
 + 
 +  protocols = imap lmtp sieve 
 +   
 +Then, open 
 + 
 +  sudo nano /etc/dovecot/conf.d/15-lda.conf 
 + 
 +Set to: 
 + 
 +  protocol lda { 
 +    mail_plugins = $mail_plugins sieve 
 +  } 
 +   
 +Finally, 
 + 
 +  sudo nano /etc/dovecot/conf.d/20-lmtp.conf 
 + 
 +Which should be: 
 + 
 +  protocol lmtp { 
 +    mail_plugins = quota sieve 
 +  } 
 +   
 +Restart your services ''systemctl restart dovecot postfix'' and it should be active. I was having trouble with Nextcloud mail because it could not locate the default / expected IMAP folders. To mitigate that, set them up to be created automatically as follows: 
 + 
 +  sudo nano /etc/dovecot/conf.d/15-mailboxes.conf 
 + 
 +An example block: 
 + 
 +  mailbox Drafts { 
 +    auto = create 
 +    special_use = \Drafts 
 +  } 
 + 
 +Simply add the ''auto = create'' to whichever directories you need.  
 +   
 + --- //[[jonathan@haacksnetworking.org|oemb1905]] 2023/08/06 18:39//
computing/mailserver.1672024450.txt.gz · Last modified: 2022/12/26 03:14 by oemb1905