Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| email:configure-dovecot [2026/01/15 16:46] – [Setup Sieve] willy | email:configure-dovecot [2026/01/22 17:58] (current) – [Setup Sieve] willy | ||
|---|---|---|---|
| Line 81: | Line 81: | ||
| } | } | ||
| </ | </ | ||
| + | |||
| + | And enable sieve for lmtp (local delivery), edit **conf.d/ | ||
| + | < | ||
| + | protocol lmtp { | ||
| + | mail_plugins { | ||
| + | sieve = yes | ||
| + | } | ||
| + | </ | ||
| + | |||
| ===== Setup authentication ===== | ===== Setup authentication ===== | ||
| Line 109: | Line 118: | ||
| ssl = yes | ssl = yes | ||
| ssl_server { | ssl_server { | ||
| - | cert_file = /etc/letsencrypt/ | + | cert_file = /etc/dovecot/ |
| - | key_file = /etc/letsencrypt/ | + | key_file = /etc/dovecot/ |
| } | } | ||
| </ | </ | ||
| + | For this to work, you need to ensure that the certs are properly moved after being renewed by Let's Encrypt. I use the following post hook in **/ | ||
| + | <file - dovecot.sh> | ||
| + | cp / | ||
| + | cp / | ||
| + | chmod o+r / | ||
| + | / | ||
| + | </ | ||
| + | the chmod is required for command line tools using **doveadm**, | ||
| ===== Testing ===== | ===== Testing ===== | ||