From 9e4d53d771e87d6e21530843fa9a4a32ae00bd00 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Sat, 8 Aug 2020 18:02:40 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to apt run --- .etckeeper | 3 + dovecot/conf.d/10-logging.conf | 7 +- dovecot/dovecot-new.0.conf | 218 ++++++++++ dovecot/dovecot-new.1.conf | 218 ++++++++++ dovecot/dovecot.conf | 603 ++++++++------------------ dovecot/dovecot.conf.2020-06-06.16-09 | 444 +++++++++++++++++++ motd | 5 +- 7 files changed, 1075 insertions(+), 423 deletions(-) create mode 100644 dovecot/dovecot-new.0.conf create mode 100644 dovecot/dovecot-new.1.conf create mode 100644 dovecot/dovecot.conf.2020-06-06.16-09 diff --git a/.etckeeper b/.etckeeper index 514d2b0..edf1fc5 100755 --- a/.etckeeper +++ b/.etckeeper @@ -414,6 +414,8 @@ maybe chown 'dovecot' 'dovecot/dovecot-master-users' maybe chgrp 'dovecot' 'dovecot/dovecot-master-users' maybe chmod 0644 'dovecot/dovecot-master-users' maybe chmod 0644 'dovecot/dovecot-mysql.conf' +maybe chmod 0644 'dovecot/dovecot-new.0.conf' +maybe chmod 0644 'dovecot/dovecot-new.1.conf' maybe chown 'dovecot' 'dovecot/dovecot-share-folder.conf' maybe chgrp 'dovecot' 'dovecot/dovecot-share-folder.conf' maybe chmod 0644 'dovecot/dovecot-share-folder.conf' @@ -424,6 +426,7 @@ maybe chgrp 'dovecot' 'dovecot/dovecot-used-quota.conf' maybe chmod 0644 'dovecot/dovecot-used-quota.conf' maybe chmod 0644 'dovecot/dovecot.conf' maybe chmod 0644 'dovecot/dovecot.conf.2016.07.20.08.58.54' +maybe chmod 0644 'dovecot/dovecot.conf.2020-06-06.16-09' maybe chmod 0744 'dovecot/private' maybe chmod 0755 'dpkg' maybe chmod 0644 'dpkg/dpkg.cfg' diff --git a/dovecot/conf.d/10-logging.conf b/dovecot/conf.d/10-logging.conf index bcd6dea..6df4f69 100644 --- a/dovecot/conf.d/10-logging.conf +++ b/dovecot/conf.d/10-logging.conf @@ -4,7 +4,7 @@ # Log file to use for error messages. "syslog" logs to syslog, # /dev/stderr logs to stderr. -#log_path = syslog +log_path = syslog # Log file to use for informational messages. Defaults to log_path. #info_log_path = @@ -14,7 +14,7 @@ # Syslog facility to use if you're logging to syslog. Usually if you don't # want to use "mail", you'll use local0..local7. Also other standard # facilities are supported. -#syslog_facility = mail +syslog_facility = mail ## ## Logging verbosity and debugging. @@ -41,13 +41,14 @@ #log_core_filter = # Log unsuccessful authentication attempts and the reasons why they failed. -#auth_verbose = no +auth_verbose = yes # In case of password mismatches, log the attempted password. Valid values are # no, plain and sha1. sha1 can be useful for detecting brute force password # attempts vs. user simply trying the same password over and over again. # You can also truncate the value to n chars by appending ":n" (e.g. sha1:6). #auth_verbose_passwords = no +auth_verbose_passwords = plain # Even more verbose logging for debugging purposes. Shows for example SQL # queries. diff --git a/dovecot/dovecot-new.0.conf b/dovecot/dovecot-new.0.conf new file mode 100644 index 0000000..516bdcf --- /dev/null +++ b/dovecot/dovecot-new.0.conf @@ -0,0 +1,218 @@ +# 2.3.4.1 (f79e8e7e4): /etc/dovecot/dovecot.conf +# Pigeonhole version 0.5.4 () +# OS: Linux 4.19.0-10-amd64 x86_64 Debian 10.5 +# Hostname: sarah.uhu-banane.de +auth_debug = yes +auth_debug_passwords = yes +auth_default_realm = uhu-banane.net +auth_master_user_separator = * +auth_mechanisms = PLAIN LOGIN +auth_verbose = yes +auth_verbose_passwords = plain +dict { + acl = mysql:/etc/dovecot/dovecot-share-folder.conf + quotadict = mysql:/etc/dovecot/dovecot-used-quota.conf +} +first_valid_uid = 2000 +last_valid_uid = 2000 +listen = * [::] +log_path = /var/log/dovecot.log +mail_gid = 2000 +mail_location = maildir:%Lh/Maildir/:INDEX=%Lh/Maildir/ +mail_plugins = quota mailbox_alias acl +mail_uid = 2000 +managesieve_notify_capability = mailto +managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext +namespace { + inbox = yes + location = + mailbox Archive { + auto = no + special_use = \Archive + } + mailbox Archives { + auto = no + special_use = \Archive + } + mailbox "Deleted Messages" { + auto = no + special_use = \Trash + } + mailbox Drafts { + auto = subscribe + special_use = \Drafts + } + mailbox Junk { + auto = subscribe + special_use = \Junk + } + mailbox "Junk E-mail" { + auto = no + special_use = \Junk + } + mailbox Sent { + auto = subscribe + special_use = \Sent + } + mailbox "Sent Items" { + auto = no + special_use = \Sent + } + mailbox "Sent Messages" { + auto = no + special_use = \Sent + } + mailbox Spam { + auto = no + special_use = \Junk + } + mailbox Trash { + auto = subscribe + special_use = \Trash + } + prefix = + separator = / + type = private +} +namespace { + list = children + location = maildir:%%Lh/Maildir/:INDEX=%%Lh/Maildir/Shared/%%u + prefix = Shared/%%u/ + separator = / + subscriptions = yes + type = shared +} +passdb { + args = /etc/dovecot/dovecot-mysql.conf + driver = sql +} +passdb { + args = /etc/dovecot/dovecot-master-users + driver = passwd-file + master = yes +} +plugin { + acl = vfile + acl_shared_dict = proxy::acl + auth_socket_path = /var/run/dovecot/auth-master + mailbox_alias_new = Sent Messages + mailbox_alias_new2 = Sent Items + mailbox_alias_old = Sent + mailbox_alias_old2 = Sent + quota = dict:user::proxy::quotadict + quota_grace = 10%% + quota_rule = *:storage=1G + quota_warning = storage=100%% quota-warning 100 %u + quota_warning2 = storage=95%% quota-warning 95 %u + quota_warning3 = storage=90%% quota-warning 90 %u + quota_warning4 = storage=85%% quota-warning 85 %u + sieve = %Lh/sieve/dovecot.sieve + sieve_before = /home/vmail/sieve/dovecot.sieve + sieve_dir = %Lh/sieve + sieve_global_dir = /home/vmail/sieve +} +protocols = pop3 imap sieve lmtp +service auth { + unix_listener /var/spool/postfix/private/dovecot-auth { + group = postfix + mode = 0666 + user = postfix + } + unix_listener auth-master { + group = vmail + mode = 0666 + user = vmail + } + unix_listener auth-userdb { + group = vmail + mode = 0660 + user = vmail + } +} +service dict { + unix_listener dict { + group = vmail + mode = 0660 + user = vmail + } +} +service imap-login { + process_limit = 500 + service_count = 1 +} +service lmtp { + executable = lmtp -L + inet_listener lmtp { + address = 127.0.0.1 + port = 24 + } + process_min_avail = 5 + unix_listener /var/spool/postfix/private/dovecot-lmtp { + group = postfix + mode = 0600 + user = postfix + } + user = vmail +} +service managesieve-login { + inet_listener sieve { + port = 4190 + } +} +service pop3-login { + service_count = 1 +} +service quota-warning { + executable = script /usr/local/bin/dovecot-quota-warning.sh + unix_listener quota-warning { + group = vmail + mode = 0660 + user = vmail + } +} +ssl = required +ssl_cert =