home · contact · privacy
Add mail server setup scripting.
[config] / buster / etc_files / mail / etc / dovecot / conf.d / 99-lmtp-sieve-filtering.conf
1 # This is only necessary when we use dovecot's LMTP mechanism to receive
2 # mail from postfix.
3 auth_username_format = %Ln
4
5 # Add sieve filtering.
6 protocol lmtp {
7   mail_plugins = $mail_plugins sieve
8 }
9
10 # We don't strictly need to provide a LMTP server to fetch mail from
11 # postfix, but we do if we want to do sophisticated stuff like sieve
12 # filtering on the way.
13 service lmtp {
14   inet_listener lmtp {
15     address = 127.0.0.1
16     port = 2424
17   }
18 }