[Dovecot] Fix pathes

master
andryyy 2019-07-28 21:36:09 +02:00
parent fb22540f74
commit 5fda67223d
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 20 additions and 20 deletions

View File

@ -3,7 +3,7 @@
# -------------------------------------------------------------------------- # --------------------------------------------------------------------------
# LDAP example: # LDAP example:
#passdb { #passdb {
# args = /usr/local/etc/dovecot/ldap/passdb.conf # args = /etc/dovecot/ldap/passdb.conf
# driver = ldap # driver = ldap
#} #}
@ -20,7 +20,7 @@ disable_plaintext_auth = yes
login_log_format_elements = "user=<%u> method=%m rip=%r lip=%l mpid=%e %c %k" login_log_format_elements = "user=<%u> method=%m rip=%r lip=%l mpid=%e %c %k"
mail_home = /var/vmail/%d/%n mail_home = /var/vmail/%d/%n
mail_location = maildir:~/ mail_location = maildir:~/
mail_plugins = </usr/local/etc/dovecot/mail_plugins mail_plugins = </etc/dovecot/mail_plugins
mail_attachment_fs = crypt:set_prefix=mail_crypt_global:posix: mail_attachment_fs = crypt:set_prefix=mail_crypt_global:posix:
mail_attachment_dir = /var/attachments mail_attachment_dir = /var/attachments
mail_attachment_min_size = 128k mail_attachment_min_size = 128k
@ -47,12 +47,12 @@ mail_shared_explicit_inbox = yes
mail_prefetch_count = 30 mail_prefetch_count = 30
passdb { passdb {
driver = passwd-file driver = passwd-file
args = /usr/local/etc/dovecot/dovecot-master.passwd args = /etc/dovecot/dovecot-master.passwd
master = yes master = yes
pass = yes pass = yes
} }
passdb { passdb {
args = /usr/local/etc/dovecot/sql/dovecot-dict-sql-passdb.conf args = /etc/dovecot/sql/dovecot-dict-sql-passdb.conf
driver = sql driver = sql
result_success = return-ok result_success = return-ok
result_failure = continue result_failure = continue
@ -60,7 +60,7 @@ passdb {
} }
passdb { passdb {
driver = passwd-file driver = passwd-file
args = /usr/local/etc/dovecot/dovecot-master.passwd args = /etc/dovecot/dovecot-master.passwd
skip = authenticated skip = authenticated
} }
# Set doveadm_password=your-secret-password in data/conf/dovecot/extra.conf (create if missing) # Set doveadm_password=your-secret-password in data/conf/dovecot/extra.conf (create if missing)
@ -274,28 +274,28 @@ ssl_cert = </etc/ssl/mail/cert.pem
ssl_key = </etc/ssl/mail/key.pem ssl_key = </etc/ssl/mail/key.pem
userdb { userdb {
driver = passwd-file driver = passwd-file
args = /usr/local/etc/dovecot/dovecot-master.userdb args = /etc/dovecot/dovecot-master.userdb
} }
userdb { userdb {
args = /usr/local/etc/dovecot/sql/dovecot-dict-sql-userdb.conf args = /etc/dovecot/sql/dovecot-dict-sql-userdb.conf
driver = sql driver = sql
skip = found skip = found
} }
protocol imap { protocol imap {
mail_plugins = </usr/local/etc/dovecot/mail_plugins_imap mail_plugins = </etc/dovecot/mail_plugins_imap
imap_metadata = yes imap_metadata = yes
} }
mail_attribute_dict = file:%h/dovecot-attributes mail_attribute_dict = file:%h/dovecot-attributes
protocol lmtp { protocol lmtp {
mail_plugins = </usr/local/etc/dovecot/mail_plugins_lmtp mail_plugins = </etc/dovecot/mail_plugins_lmtp
auth_socket_path = /usr/local/var/run/dovecot/auth-master auth_socket_path = /var/run/dovecot/auth-master
} }
protocol sieve { protocol sieve {
managesieve_logout_format = bytes=%i/%o managesieve_logout_format = bytes=%i/%o
} }
plugin { plugin {
# Allow "any" or "authenticated" to be used in ACLs # Allow "any" or "authenticated" to be used in ACLs
acl_anyone = </usr/local/etc/dovecot/acl_anyone acl_anyone = </etc/dovecot/acl_anyone
acl_shared_dict = file:/var/vmail/shared-mailboxes.db acl_shared_dict = file:/var/vmail/shared-mailboxes.db
acl = vfile acl = vfile
fts = solr fts = solr
@ -310,17 +310,17 @@ plugin {
# From elsewhere to Spam folder # From elsewhere to Spam folder
imapsieve_mailbox1_name = Junk imapsieve_mailbox1_name = Junk
imapsieve_mailbox1_causes = COPY imapsieve_mailbox1_causes = COPY
imapsieve_mailbox1_before = file:/usr/local/lib/dovecot/sieve/report-spam.sieve imapsieve_mailbox1_before = file:/usr/lib/dovecot/sieve/report-spam.sieve
# END # END
# From Spam folder to elsewhere # From Spam folder to elsewhere
imapsieve_mailbox2_name = * imapsieve_mailbox2_name = *
imapsieve_mailbox2_from = Junk imapsieve_mailbox2_from = Junk
imapsieve_mailbox2_causes = COPY imapsieve_mailbox2_causes = COPY
imapsieve_mailbox2_before = file:/usr/local/lib/dovecot/sieve/report-ham.sieve imapsieve_mailbox2_before = file:/usr/lib/dovecot/sieve/report-ham.sieve
# END # END
quota_warning = storage=95%% quota-warning 95 %u quota_warning = storage=95%% quota-warning 95 %u
quota_warning2 = storage=80%% quota-warning 80 %u quota_warning2 = storage=80%% quota-warning 80 %u
sieve_pipe_bin_dir = /usr/local/lib/dovecot/sieve sieve_pipe_bin_dir = /usr/lib/dovecot/sieve
sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.execute sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.execute
sieve_extensions = +notify +imapflags +vacation-seconds sieve_extensions = +notify +imapflags +vacation-seconds
sieve_max_script_size = 1M sieve_max_script_size = 1M
@ -357,9 +357,9 @@ service quota-warning {
} }
} }
dict { dict {
sqlquota = mysql:/usr/local/etc/dovecot/sql/dovecot-dict-sql-quota.conf sqlquota = mysql:/etc/dovecot/sql/dovecot-dict-sql-quota.conf
sieve_after = mysql:/usr/local/etc/dovecot/sql/dovecot-dict-sql-sieve_after.conf sieve_after = mysql:/etc/dovecot/sql/dovecot-dict-sql-sieve_after.conf
sieve_before = mysql:/usr/local/etc/dovecot/sql/dovecot-dict-sql-sieve_before.conf sieve_before = mysql:/etc/dovecot/sql/dovecot-dict-sql-sieve_before.conf
} }
remote 127.0.0.1 { remote 127.0.0.1 {
disable_plaintext_auth = no disable_plaintext_auth = no
@ -382,8 +382,8 @@ imap_max_line_length = 2 M
#auth_cache_negative_ttl = 0 #auth_cache_negative_ttl = 0
#auth_cache_ttl = 30 s #auth_cache_ttl = 30 s
#auth_cache_size = 2 M #auth_cache_size = 2 M
!include_try /usr/local/etc/dovecot/extra.conf !include_try /etc/dovecot/extra.conf
!include_try /usr/local/etc/dovecot/sogo-sso.conf !include_try /etc/dovecot/sogo-sso.conf
!include_try /usr/local/etc/dovecot/shared_namespace.conf !include_try /etc/dovecot/shared_namespace.conf
default_client_limit = 10400 default_client_limit = 10400
default_vsz_limit = 1024 M default_vsz_limit = 1024 M