Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 2.1.7: /etc/dovecot/dovecot.conf
- # OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.8 vboxsf
- auth_debug = yes
- auth_debug_passwords = yes
- auth_default_realm = 1cps.ru
- 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_gid = 2000
- first_valid_uid = 2000
- last_valid_gid = 2000
- last_valid_uid = 2000
- listen = *
- log_path = /var/log/dovecot.log
- mail_debug = yes
- mail_gid = 2000
- mail_location = maildir:/var/vmail/vmail1/%Ld/%Ln
- mail_plugins = " quota"
- 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 ihave
- namespace inbox {
- inbox = yes
- location =
- mailbox Drafts {
- special_use = \Drafts
- }
- mailbox Junk {
- special_use = \Junk
- }
- mailbox Sent {
- special_use = \Sent
- }
- mailbox "Sent Messages" {
- special_use = \Sent
- }
- mailbox Trash {
- special_use = \Trash
- }
- prefix =
- separator = /
- type = private
- }
- passdb {
- args = /etc/dovecot/dovecot-sql.conf.ext
- driver = sql
- }
- plugin {
- auth_socket_path = /var/run/dovecot/auth-master
- autocreate = INBOX
- autocreate2 = Sent
- autocreate3 = Trash
- autocreate4 = Drafts
- autocreate5 = Junk
- autosubscribe = INBOX
- autosubscribe2 = Sent
- autosubscribe3 = Trash
- autosubscribe4 = Drafts
- autosubscribe5 = Junk
- quota = dict:user::proxy::quotadict
- quota_rule = *:storage=1G
- quota_warning = storage=85%% quota-warning 85 %u
- quota_warning2 = storage=90%% quota-warning 90 %u
- quota_warning3 = storage=95%% quota-warning 95 %u
- sieve = /%Lh/sieve/dovecot.sieve
- sieve_before = /var/vmail/sieve/dovecot.sieve
- sieve_dir = /%Lh/sieve
- sieve_max_actions = 32
- sieve_max_redirects = 8
- sieve_max_script_size = 1M
- }
- postmaster_address = postmaster@1cps.ru
- protocols = imap lmtp sieve
- 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 {
- inet_listener imap {
- port = 143
- }
- inet_listener imaps {
- port = 993
- ssl = yes
- }
- }
- service lmtp {
- executable = lmtp -L
- inet_listener lmtp {
- 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_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 = </etc/ssl/certs/iRedMail.crt
- ssl_key = </etc/ssl/private/iRedMail.key
- ssl_protocols = !SSLv2 !SSLv3
- userdb {
- args = /etc/dovecot/dovecot-sql.conf.ext
- driver = sql
- }
- verbose_proctitle = yes
- verbose_ssl = yes
- protocol lmtp {
- info_log_path = /var/log/dovecot-lmtp.log
- lmtp_save_to_detail_mailbox = yes
- mail_plugins = quota sieve
- postmaster_address = postmaster
- recipient_delimiter = +
- }
- protocol lda {
- auth_socket_path = /var/run/dovecot/auth-master
- lda_mailbox_autocreate = yes
- log_path = /var/log/dovecot-sieve.log
- mail_plugins = " quota sieve autocreate acl"
- postmaster_address = root
- }
- protocol imap {
- imap_client_workarounds = tb-extra-mailbox-sep delay-newmail tb-lsub-flags
- mail_max_userip_connections = 20
- mail_plugins = " quota imap_quota autocreate"
- }
- protocol sieve {
- mail_max_userip_connections = 10
- managesieve_implementation_string = Dovecot Pigeonhole
- managesieve_logout_format = bytes=%i/%o
- managesieve_max_compile_errors = 5
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement