Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| email:configure-dovecot [2025/03/04 10:00] – willy | email:configure-dovecot [2025/03/13 14:05] (current) – [Configuring Dovecot] willy | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Configuring Dovecot ====== | + | ====== |
| Dovecot configuation is stored in **/ | Dovecot configuation is stored in **/ | ||
| Line 11: | Line 11: | ||
| Edit **doveconf.conf**: | Edit **doveconf.conf**: | ||
| < | < | ||
| - | protocols = imap lmtp sieve managesieve | + | protocols = imap lmtp sieve |
| login_greeting = IMAP server ready. | login_greeting = IMAP server ready. | ||
| + | # Optional DEBUG stuff to enable if things don't work: | ||
| + | # | ||
| + | # | ||
| + | #auth_debug = yes | ||
| + | # | ||
| + | #mail_debug = yes | ||
| + | # | ||
| </ | </ | ||
| Line 36: | Line 43: | ||
| This is required because postfix will use dovecot to deliver mail to mailboxes internally and to perform SASL authentication as well. | This is required because postfix will use dovecot to deliver mail to mailboxes internally and to perform SASL authentication as well. | ||
| + | |||
| + | ===== Setup Sieve ===== | ||
| + | |||
| + | Sieve let's you create custom filters that will filter your inbound emails. | ||
| + | |||
| + | Changes in **conf.d/ | ||
| + | < | ||
| + | protocol lmtp { | ||
| + | mail_plugins = $mail_plugins sieve | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | And specify which folder should store the filters. | ||
| + | |||
| + | Changes in **conf.d/ | ||
| + | < | ||
| + | plugin { | ||
| + | sieve = file:/ | ||
| + | </ | ||
| ===== Setup authentication ===== | ===== Setup authentication ===== | ||