User Tools

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
email:configure-dovecot [2026/01/15 16:08] willyemail:configure-dovecot [2026/04/07 06:49] (current) willy
Line 74: Line 74:
  
 Sieve let's you create custom filters that will filter your inbound emails. Sieve let's you create custom filters that will filter your inbound emails.
- 
-Changes in **conf.d/20-lmtp.conf**: 
-<code> 
-protocol lmtp { 
-  mail_plugins = $mail_plugins sieve 
-} 
-</code> 
- 
-And specify which folder should store the filters. 
  
 Changes in **conf.d/90-sieve.conf**: Changes in **conf.d/90-sieve.conf**:
 <code> <code>
 sieve_script personal { sieve_script personal {
 +  driver = file
   path = /home/vmail/storage/%{user | domain}/%{user | username}/sieve   path = /home/vmail/storage/%{user | domain}/%{user | username}/sieve
 +  active_path = /home/vmail/storage/%{user | domain}/%{user | username}/.dovecot.sieve
 } }
 </code> </code>
 +
 +And enable sieve for lmtp (local delivery), edit **conf.d/20-lmtp.conf**:
 +<code>
 +protocol lmtp {
 +    mail_plugins {
 +    sieve = yes
 +  }
 +</code>
 +
  
 ===== Setup authentication ===== ===== Setup authentication =====
Line 118: Line 120:
 ssl = yes ssl = yes
 ssl_server { ssl_server {
-  cert_file = /etc/letsencrypt/live/casa.gardiol.org/fullchain.pem +  cert_file = /etc/letsencrypt/live/... domain ... ]/fullchain.pem 
-  key_file = /etc/letsencrypt/live/casa.gardiol.org/privkey.pem+  key_file = /etc/letsencrypt/live/[ ... domain ... ]/privkey.pem
 } }
 </code> </code>
- 
- 
  
 ===== Testing ===== ===== Testing =====