Skip to content

Instantly share code, notes, and snippets.

@M66B
Created March 15, 2017 17:02
Show Gist options
  • Save M66B/d6c12e53351d21c3bbbfbe09bb0a224d to your computer and use it in GitHub Desktop.
Save M66B/d6c12e53351d21c3bbbfbe09bb0a224d to your computer and use it in GitHub Desktop.
auth_username_format = %n
imap_idle_notify_interval = 29 mins
lda_mailbox_autocreate = yes
mail_location = maildir:~/mail
mail_plugins = " fts fts_lucene"
plugin {
fts = lucene
fts_autoindex = yes
fts_lucene = whitespace_chars=@.
imapsieve_mailbox1_before = file:/etc/mail/imapsieve/report-spam.sieve
imapsieve_mailbox1_causes = COPY
imapsieve_mailbox1_name = Spam
imapsieve_mailbox2_before = file:/etc/mail/imapsieve/report-ham.sieve
imapsieve_mailbox2_causes = COPY
imapsieve_mailbox2_from = Spam
imapsieve_mailbox2_name = *
sieve = file:~/sieve;active=~/.dovecot.sieve
sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.execute
sieve_pipe_bin_dir = /etc/mail/imapsieve
sieve_plugins = sieve_imapsieve sieve_extprograms
sieve_vacation_use_original_recipient = yes
}
protocols = imap lmtp sieve
ssl_cert = </etc/letsencrypt/live/example.com/fullchain.pem
ssl_key = # hidden, use -P to show it
userdb {
driver = passwd
}
protocol lda {
mail_plugins = " fts fts_lucene sieve"
}
protocol imap {
mail_plugins = " fts fts_lucene imap_sieve"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment